[CDRIVER-1049] SASL_LIBS overwritten by pkg-config Created: 10/Dec/15  Updated: 18/Jan/16  Resolved: 14/Dec/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.3.0
Fix Version/s: 1.3.1

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

-bash-4.2$ ./configure --help | grep -i sasl
  --enable-sasl=[auto/yes/no]
                          Use libsasl for Kerberos.
  SASL_CFLAGS C compiler flags for SASL, overriding pkg-config
  SASL_LIBS   linker flags for SASL, overriding pkg-config

However, SASL_LIBS and SASL_CFLAGS are unconditionally overwritten by pkg-config if it discovers anything.

This leads to situations where pkg-config finds one lib, while I wanted to link to another.



 Comments   
Comment by Githook User [ 14/Dec/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1049: SASL_LIBS overwritten by pkg-config
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3484d7d5bcf83a6bc1c3a5155365d8f226b00aa3

Comment by Hannes Magnusson [ 11/Dec/15 ]

https://mongodbcr.appspot.com/43070001/

Generated at Wed Feb 07 21:11:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.