libstdc++ in Libs.private?

Tollef Fog Heen tfheen at err.no
Sun Aug 7 14:01:27 UTC 2016


]] Thomas Petazzoni 

> Is this the most appropriate solution? How is this situation of a C
> application statically linked against a C++ library typically handled?

I generally recommend avoid static linking and rather using $ORIGIN in
rpath or similar solutions, but if you do absolutely want static
linking, doing what you suggest seems ok, with the caveat that libstdc++
might be magic in various ways which I'm not remembering right now.

Cheers,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


More information about the pkg-config mailing list