summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--gtk+-3.0.pc.in1
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b5bd52aec1..bbc4cf8705 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1305,8 +1305,9 @@ else
fi
GTK_PACKAGES="atk cairo cairo-gobject gdk-pixbuf-2.0 gio-2.0"
+GTK_PRIVATE_PACKAGES=""
if test "x$enable_x11_backend" = xyes; then
- GTK_PACKAGES="$GTK_PACKAGES pangoft2"
+ GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
fi
GTK_EXTRA_LIBS=
@@ -1324,6 +1325,7 @@ PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
AC_SUBST(GTK_PACKAGES)
+AC_SUBST(GTK_PRIVATE_PACKAGES)
AC_SUBST(GTK_EXTRA_LIBS)
AC_SUBST(GTK_EXTRA_CFLAGS)
AC_SUBST(GTK_DEP_LIBS)
diff --git a/gtk+-3.0.pc.in b/gtk+-3.0.pc.in
index e628ab1ef7..cf5d3be677 100644
--- a/gtk+-3.0.pc.in
+++ b/gtk+-3.0.pc.in
@@ -11,5 +11,6 @@ Name: GTK+
Description: GTK+ Graphical UI Library
Version: @VERSION@
Requires: gdk-@GTK_API_VERSION@ @GTK_PACKAGES@
+Requires.private: @GTK_PRIVATE_PACKAGES@
Libs: -L${libdir} -lgtk-3 @GTK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@