[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "guile-config link" reports LDFLAGS it has been compiled with
From: |
Ludovic Courtès |
Subject: |
Re: "guile-config link" reports LDFLAGS it has been compiled with |
Date: |
Sun, 17 Feb 2008 00:01:42 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi Marijn,
Sorry for the later reply.
"Marijn Schouten (hkBst)" <address@hidden> writes:
> "guile-config link" reports LDFLAGS it has been compiled with. Usage says:
>
> guile-config link - print libraries to link with
>
> so one of these is inaccurate. To resolve this issue in favor of the
> description:
>
> --- guile-1.8.3.orig/configure.in
> +++ guile-1.8.3/configure.in
> @@ -1333,7 +1333,7 @@ AC_SUBST(LIBGUILE_SRFI_SRFI_60_INTERFACE
> #######################################################################
>
> dnl Tell guile-config what flags guile users should compile and link with.
> -GUILE_LIBS="$LDFLAGS $LIBS"
> +GUILE_LIBS="$LIBS"
> GUILE_CFLAGS="$PTHREAD_CFLAGS"
> AC_SUBST(GUILE_LIBS)
> AC_SUBST(GUILE_CFLAGS)
>
> as reported in http://bugs.gentoo.org/show_bug.cgi?id=202205
Indeed, you're right.
Conversely, I think `GUILE_CFLAGS' must include `$CPPFLAGS' since this
may include `-I' flags that are required (e.g., `-I/path/to/gmp').
Thanks,
Ludovic.
- Re: "guile-config link" reports LDFLAGS it has been compiled with,
Ludovic Courtès <=