From 938da56b911a16d90ccff0ce8196c1b74c9760d5 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 21 Feb 2010 21:02:40 +0000 Subject: [PATCH] [packages] imlib2: Pass Xorg include and libarary path. Otherwise it will look for it for them in the host environment. SVN-Revision: 19804 --- Xorg/lib/imlib2/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Xorg/lib/imlib2/Makefile b/Xorg/lib/imlib2/Makefile index 607ee537a9..87e55b8c67 100644 --- a/Xorg/lib/imlib2/Makefile +++ b/Xorg/lib/imlib2/Makefile @@ -30,7 +30,15 @@ define Package/imlib2 DEPENDS:=+libX11 +giflib +libtiff +libjpeg +gtk1 +libfreetype +libXext endef -CONFIGURE_ARGS+=--disable-gtktest LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib" +TARGET_CFLAGS += "-Wl,-rpath-link=$(STAGING_DIR)/usr/lib" + +define Build/Configure + $(call Build/Configure/Default, \ + --x-includes="$(STAGING_DIR)/usr/include/X11" \ + --x-libraries="$(STAGING_DIR)/usr/lib/" \ + --disable-gtktest \ + ) +endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/{include,lib/pkgconfig} -- 2.30.2