From 243b8c211a02753ff1dbdc6e4211dce83b4cf591 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 13 Oct 2008 15:43:09 +0000 Subject: [PATCH] fix eterm compile SVN-Revision: 12973 --- XOrg/app/eterm/Makefile | 2 +- XOrg/lib/imlib2/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/XOrg/app/eterm/Makefile b/XOrg/app/eterm/Makefile index 5713cca8fb..30ccc2db64 100644 --- a/XOrg/app/eterm/Makefile +++ b/XOrg/app/eterm/Makefile @@ -50,7 +50,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)\ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib/libiconv/include/" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib/" + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib/ -lImlib2" $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install endef diff --git a/XOrg/lib/imlib2/Makefile b/XOrg/lib/imlib2/Makefile index bde3d5751a..1c71b0aa2d 100644 --- a/XOrg/lib/imlib2/Makefile +++ b/XOrg/lib/imlib2/Makefile @@ -46,13 +46,14 @@ define Build/InstallDev $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ $(1)/usr/lib/pkgconfig/ - $(INSTALL_DIR) $(2)/bin + $(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/imlib2-config \ $(2)/bin/ $(SED) \ 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ $(2)/bin/imlib2-config + ln -sf $(STAGING_DIR)/host/bin/imlib2-config $(1)/usr/bin/imlib2-config endef define Package/imlib2/install -- 2.30.2