LDFLAGS and CPPFLAGS on OpenLDAP
by LuisO from LinuxQuestions.org on (#55PBB)
Hello,
I am compiling OpenLDAP.
I opened "./configure --help" , and among the options I read the "LDFLAGS" and "CPPFLAGS" but they are not explained there. When I looked it up on other compilation samples, I see different paths to those, like:
LDFLAGS="-L/usr/lib64/sasl2" but also "-L/usr/local/lib"
The same goes for "CPPFLAGS"
So, I am confused as to what those flags must contain.
Thanks in advance!


I am compiling OpenLDAP.
I opened "./configure --help" , and among the options I read the "LDFLAGS" and "CPPFLAGS" but they are not explained there. When I looked it up on other compilation samples, I see different paths to those, like:
LDFLAGS="-L/usr/lib64/sasl2" but also "-L/usr/local/lib"
The same goes for "CPPFLAGS"
So, I am confused as to what those flags must contain.
Thanks in advance!