Re: pkg-config and static builds

2014-03-03 Thread Werner LEMBERG
>> Indeed. However, how is that related to my request of having a >> separate set of linker flags for *static* linking? > > Before libtool could adequately address such a feature, it would > need to be supported by autoconf and configure scripts based on > autoconf. If there are two sets of LDF

Re: pkg-config and static builds

2014-03-03 Thread Bob Friesenhahn
On Tue, 4 Mar 2014, Werner LEMBERG wrote: Indeed. However, how is that related to my request of having a separate set of linker flags for *static* linking? Before libtool could adequately address such a feature, it would need to be supported by autoconf and configure scripts based on autocon

Re: pkg-config and static builds

2014-03-03 Thread Werner LEMBERG
> Depending entirely on pkg-config is not wise since it is an add-on > which is not part of the autotools framework and not uniformly > maintained. It is unrealistic to expect that all libraries needed by a package are manually compiled by the user so that all `.la' files are present. Additionall

Re: pkg-config and static builds

2014-03-03 Thread Bob Friesenhahn
On Mon, 3 Mar 2014, Werner LEMBERG wrote: it seems it has been already discussed that libtool should use a different set of link flags if compiling a static library, especially for libraries that come without a corresponding `.la' file, cf. this thread: http://lists.gnu.org/archive/html/automa