Discussion:
Skip library during configure, include library during compile/link?
Jeffrey Walton
2013-11-23 03:26:02 UTC
Permalink
I need to include a library during compile and link, but omit it
during configure because its breaking one of the configure tests.

Is it possible to include a library for compile and link, but omit it
during configure?

(In the past I could side step this issue by running configure, and
then adding LDLIBS=<...> to the makefile by hand. But this project is
not honoring LDLIBS from the makefile).

Thanks in advance.
Bob Friesenhahn
2013-11-24 02:08:45 UTC
Permalink
Post by Jeffrey Walton
I need to include a library during compile and link, but omit it
during configure because its breaking one of the configure tests.
Is it possible to include a library for compile and link, but omit it
during configure?
(In the past I could side step this issue by running configure, and
then adding LDLIBS=<...> to the makefile by hand. But this project is
not honoring LDLIBS from the makefile).
You can put anything you like in the Makefile so of course what you
ask is quite possible (and trivial).

If you are using Automake, you should consult the Automake
documentation.

Bob
--
Bob Friesenhahn
***@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Loading...