diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-02-12 15:13:39 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-02-12 15:13:39 -0500 |
| commit | 1265a23e5318f12d5f64a084198e4d942af83c19 (patch) | |
| tree | 29d48c8607e1755f1d839deec3d5886816191685 | |
| parent | 3f5403a916c73679a3f225fc1e6d8591a08a178d (diff) | |
include imlib2 as a dep of obrender in the pkg-config file if it's using it
| -rw-r--r-- | configure.ac | 3 | ||||
| -rw-r--r-- | obrender/obrender-3.5.pc.in | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 57f126a1..f58f7e5c 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ], [ diff --git a/obrender/obrender-3.5.pc.in b/obrender/obrender-3.5.pc.in index 78646e32..2c8a4357 100644 --- a/obrender/obrender-3.5.pc.in +++ b/obrender/obrender-3.5.pc.in @@ -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} |
