]> Dogcows Code - chaz/openbox/commitdiff
include imlib2 as a dep of obrender in the pkg-config file if it's using it
authorDana Jansens <danakj@orodu.net>
Fri, 12 Feb 2010 20:13:39 +0000 (15:13 -0500)
committerDana Jansens <danakj@orodu.net>
Fri, 12 Feb 2010 20:13:39 +0000 (15:13 -0500)
configure.ac
obrender/obrender-3.5.pc.in

index 57f126a1885ebbd5515884f3be8eddae1ca35f1c..f58f7e5c1774aa3cbc5cad7b3d677569288a8f8b 100644 (file)
@@ -175,6 +175,9 @@ PKG_CHECK_MODULES(IMLIB2, [imlib2],
     AC_DEFINE(USE_IMLIB2, [1], [Use Imlib2 image library])
     AC_SUBST(IMLIB2_CFLAGS)
     AC_SUBST(IMLIB2_LIBS)
+    # export it for the pkg-config file
+    PKG_CONFIG_IMLIB=imlib2
+    AC_SUBST(PKG_CONFIG_IMLIB)
     imlib2_found=yes
   ],
   [
index 78646e32c4fc9a597334f397217f5003eb502e3d..2c8a4357b7e7cef3226d4c977a1bd934b6449883 100644 (file)
@@ -9,6 +9,6 @@ xlibs=@X_LIBS@
 Name: ObRender
 Description: Openbox Render Library
 Version: @RR_VERSION@
-Requires: obt-3.5 glib-2.0 xft pangoxft
+Requires: obt-3.5 glib-2.0 xft pangoxft @PKG_CONFIG_IMLIB@
 Libs: -L${libdir} -lobrender ${xlibs}
 Cflags: -I${includedir}/openbox/@RR_VERSION@ ${xcflags}
This page took 0.027751 seconds and 4 git commands to generate.