Bugzilla – Bug 251
configure ignores LDFLAGS environment variable
Last modified: 2007-06-19 17:22:57 MDT
on FreeBSD 6.2, I need to use -I/usr/local/include and -L/usr/local/lib to get LDAP support included. I followed the instructions in configure, and ran: CFLAGS="-O2 -I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --with-ldap but the resulting Makefile has LDFLAGS= workaround: edit Makefile after running configure, and change LDFLAGS appropriately
The proper thing to do is use --with-lap=/usr/local
There was a line out of place in configure.in that was causing LDFLAGS to get cleared in the --with-ldap case. The fix is in cvs and will appear in 1.6.9 beta3