Missing Libs.private in lcms2.pc for static linking
An ICC-based CMM for color management
Brought to you by:
mm2
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
Fixed in GIT. Thanks for reporting