Bug 837248 - pkg-config --libs libraw output has unnecessary flags
Summary: pkg-config --libs libraw output has unnecessary flags
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: LibRaw
Version: 19
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-03 10:08 UTC by Siddhesh Poyarekar
Modified: 2015-09-14 00:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-20 20:54:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Siddhesh Poyarekar 2012-07-03 10:08:39 UTC
$ pkg-config --libs libraw
-fopenmp -lraw -lstdc++ -llcms  

This should only be -lraw.

Comment 1 Fedora Admin XMLRPC Client 2012-11-09 12:11:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Gwyn Ciesla 2012-11-09 13:53:39 UTC
What negative effects come from the extra flags?

Comment 3 Fedora End Of Life 2013-04-03 19:54:40 UTC
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:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 Rex Dieter 2013-10-21 17:23:52 UTC
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
-lstdc++ -llcms
should be moved to a Libs.private: section in the .pc file (to specify there are only needed for static linking purposes)


Note You need to log in before you can comment on or make changes to this bug.