-------- Forwarded Message --------
From: Sébastien Villemot <[email protected]>
To: Andrew Makhorin <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>, [email protected]
Subject: Re: [Bug-glpk] [Fwd: Patch for correct detection of iodbc
flags]
Date: Thu, 27 Mar 2014 20:30:05 +0100

Hi Andrew,

Le jeudi 27 mars 2014 à 17:49 +0400, Andrew Makhorin a écrit :

> Thank you for the patch.
> 
> Should I apply the one you posted to the list yesterday or wait for
> another one according to Xypron's comments? (Sorry, this is a bit Greek
> to me.) Thanks.

You can apply my patch right now.

Xypron's suggestion is not a replacement of my patch, but rather an idea
for a second patch.

Best,

> On Wed, 2014-03-26 at 17:20 +0100, Sébastien Villemot wrote:
> > 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

Reply via email to