[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: Greg Troxel
Subject: Re: "guile-config link" reports LDFLAGS it has been compiled with
Date: Mon, 18 Feb 2008 09:19:09 -0500
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (berkeley-unix)

  Wait, no: the argument for `$CPPFLAGS' also applies to `$LDFLAGS'.  That
  is, if `-L' flags are passed through `$LDFLAGS' to `configure', like
  `-L/path/to/gmp', then they must be reported by "guile-config link".

  Admittedly, it has the undesirable side-effect of reporting completely
  unrelated link flags as well.  Unfortunately, I'm not sure we could
  reliably filter `$LDFLAGS'.

And, this really should use -Wl,-R as well on platforms that use the -R

Strictly speaking, I think we need both LDFLAGS and -L$(libdir); it may
be that guile was built with prereqs from one place and installed in
another.  But it may always put it's own libdir in LDFLAGS.

It would be nice to see a pkg-config file for guile; I kind of remember
this floating around on the list but 1.8.3 doesn't seem to install it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]