[poppler] poppler.pc missing Requires.private / Libs.private
jeroen.ooms at stat.ucla.edu
Wed Mar 2 11:13:22 UTC 2016
The pkgconfig file for poppler does not contain the configured dependencies
required for static linking:
> pkg-config --libs --static poppler-cpp
-L/usr/local/Cellar/poppler/0.41.0/lib -lpoppler-cpp -lpoppler
This is certainly incomplete. Correct output (in my case) would be
something along the lines of:
-L/usr/local/Cellar/libtiff/4.0.6/lib -lpoppler-cpp -lpoppler -lcairo -lz
-lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -Wl,-framework,Carbon
-Wl,-framework,Foundation -lpixman-1 -lfontconfig -lexpat -lfreetype -lz
-lbz2 -lpng16 -lz -lpng16 -lz -llcms2 -lm -lopenjpeg -ltiff -ljpeg -lz
I am not an expert but I think the configure script should record
dependencies in the poppler.pc fields Requires.private or Libs.private.
Libraries such as libcurl or cairo provide good examples.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the poppler