guile's pkg-config script has incorrect flags and libs
Marco Atzeri
marco.atzeri@gmail.com
Sat Sep 20 22:48:00 GMT 2014
On 20/09/2014 17:16, Mike Gran wrote:
> Guile is a scheme interpreter that comes with Cygwin.
>
> The guile-devel package provides information to pkg-config
> about the required flags and libs necessary to link a Guile
> interpreter to another program.
>
> The pkg-config information is wrong.
>
> pkg-config guile-1.8 --cflags gives
> -I/home/janneke/vc/gub/target/cygwin/root/usr/include
>
> it should probably be return nothing, or be returning
> "-I/usr/include"
>
> pkg-config guile-1.8 --libs returns
> -L/home/janneke/vc/gub/target/cygwin/root/usr/lib \
> -L/home/janneke/vc/gub/target/cygwin/root/usr/bin \
> -L/home/janneke/vc/gub/target/cygwin/root/usr/lib/w32api \
> -lguile -lgmp -lcrypt -lm -lltdl
>
> It should probably be returning just
> -lguile -lgmp -lcrypt -lm -lltdl
>
> Thanks,
>
> Mike Gran
the problem is present only on 32bit
On 64 bit:
$ pkg-config guile-1.8 --cflags
-I/usr/include/guile/1.8
$ pkg-config guile-1.8 --libs
-lguile -lgmp -lcrypt -lm -lltdl
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list