[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invoke pkg-config with --static

From: Bob Friesenhahn
Subject: Re: invoke pkg-config with --static
Date: Sat, 16 May 2009 19:04:53 -0500 (CDT)

On Sat, 16 May 2009, Lorenzo Bettini wrote:

when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file)?

It seems that LT_INIT has been executed, the shell environment variables enable_shared and enable_static are set to 'yes' if shared and/or static libraries will be built. You can test these environment variables to determine the parameter to pass to pkg-config.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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