[Poppler-bugs] [Bug 77947] [PATCH] Libs.private in pkgconfig files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 4 09:04:52 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=77947

--- Comment #4 from Sandro Mani <manisandro at gmail.com> ---
Hmm, seems the only way to do it with cmake is to hard code the -l<lib> in the
pc file... I.e.

Libs.private: @GLIB2_LIBRARIES@ @CAIRO_LIBRARIES@ @FREETYPE_LIBRARIES@

results in

Libs.private: gio-2.0;gobject-2.0;glib-2.0 /usr/lib64/libcairo.so
/usr/lib64/libfreetype.so

which is obviously not what we want.

Do you perhaps know some cmake black magic to get only the actual -l<lib>
instead of the output above?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150104/5ba68200/attachment.html>


More information about the Poppler-bugs mailing list