#26 Missing Libs.private in lcms2.pc for static linking

open-fixed
nobody
None
5
2011-06-20
2011-06-12
Samuli Suominen
No

pkg-config --static --libs should return -lm for static linking, but it doesn't, this is due to missing Libs.private in the lcms2.pc.in file

here is a small patch to rectify the situation:

--- lcms2.pc.in
+++ lcms2.pc.in
@@ -7,4 +7,5 @@
Description: LCMS Color Management Library
Version: @VERSION@
Libs: -L${libdir} -llcms2
+Libs.private: @LIB_MATH@
Cflags: -I${includedir}

Thanks, Samuli

Discussion

    • status: open --> open-fixed
     
  • Fixed in GIT. Thanks for reporting