Skip to content

glib: fix linker error when gtk is not in a default location

John Hein requested to merge jhfdgl/poppler:master into master

Fix the following error when libgtk-3 (et. al.) is not installed in a directory that is not a linker default location: /usr/bin/ld: cannot find -lgtk-3

This change leverages pkg-config to add -L paths as well as the list of gtk3 libraries (-lgtk-3, etc.)

Merge request reports