how should .pc files be configured for "static only" builds?
Tollef Fog Heen
tfheen at err.no
Wed May 21 09:53:09 PDT 2014
]] Roger Pack
> It's come to my attention the following conundrum:
>
> https://www.flameeyes.eu/autotools-mythbuster/pkgconfig/dependencies.html
>
> in my own words, it seems impossible to know if, when calling
> pkg-config, the library was compiled statically or dynamically" (so
> you don't know whether to call pkg-config --static or not).
>
> Has there been any improvement/progress on this as of late?
Don't compile stuff statically. If you really must do something in that
vein, compile it dynamically with rpath pointing to a private
directory and ship that directory.
--static is a bit misnamed and I wish I'd chosen a better name at theb
time. Something like --show-private or something in that direction.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the pkg-config
mailing list