include imlib2 as a dep of obrender in the pkg-config file if it's using it
Dana Jansens danakj@orodu.net
2 files changed,
4 insertions(+),
1 deletions(-)
M
configure.ac
→
configure.ac
@@ -175,6 +175,9 @@ [
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 ], [
M
obrender/obrender-3.5.pc.in
→
obrender/obrender-3.5.pc.in
@@ -9,6 +9,6 @@
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}