-------- Forwarded Message -------- From: Sébastien Villemot <[email protected]> To: Heinrich Schuchardt <[email protected]> Cc: Andrew Makhorin <[email protected]>, [email protected] Subject: Re: [Bug-glpk] [Fwd: Patch for correct detection of iodbc flags] Date: Wed, 26 Mar 2014 17:20:55 +0100
Le mercredi 26 mars 2014 à 16:45 +0100, Heinrich Schuchardt a écrit : > Hello Sébastien, > > > There is therefore the need for glpk to give the corresponding -I flag > > to the compiler. The best way seems to call "iodbc-config --cflags", > > which will return the correct flags in all cases. > > iodbc-config is also available on other Posix platforms like Fedora, > OSX, and Ubuntu. So this seems to be a globally valid solution. > > Shouldn't we also use > iodbc-config --libs > to get the linker flags? Indeed, that could make sense too. Note however that on my machine, this option also returns libraries to be linked with… $ iodbc-config --libs -L/usr/lib -liodbc -liodbcinst …so you'll probably have to adapt the Makefile if you go down that road. -- .''`. Sébastien Villemot : :' : Debian Developer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594 _______________________________________________ Bug-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-glpk
