fix eterm compile
authorFelix Fietkau <nbd@openwrt.org>
Mon, 13 Oct 2008 15:43:09 +0000 (15:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 13 Oct 2008 15:43:09 +0000 (15:43 +0000)
SVN-Revision: 12973

XOrg/app/eterm/Makefile
XOrg/lib/imlib2/Makefile

index 5713cca8fb75092dc5a45221236e9c804868b6d2..30ccc2db648deaf66201d00ba1057d2b1b96a516 100644 (file)
@@ -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
 
index bde3d5751a522210a80f6515de23486a1811aeaa..1c71b0aa2da8ca7bb6f60bba6c1b497f684b3644 100644 (file)
@@ -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