Red Hat Bugzilla – Bug 837248
pkg-config --libs libraw output has unnecessary flags
Last modified: 2015-09-13 20:23:34 EDT
$ pkg-config --libs libraw
-fopenmp -lraw -lstdc++ -llcms
This should only be -lraw.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
What negative effects come from the extra flags?
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
negative effects are overlinking, and dependant software/packages can end up with extraneous dependencies.
that said, I'm not sure -fopenmp is safe or not to omit, but these
should be moved to a Libs.private: section in the .pc file (to specify there are only needed for static linking purposes)