fix host binary installation of libast
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 01:27:27 +0000 (01:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 01:27:27 +0000 (01:27 +0000)
SVN-Revision: 9859

XOrg/lib/libast/Makefile

index f6bd8ca..5a53c50 100644 (file)
@@ -48,14 +48,14 @@ define Build/Compile
 endef
 
 define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include $(STAGING_DIR_HOST)/bin
+       $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include $(2)/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*{la,so}* $(1)/usr/lib
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(STAGING_DIR_HOST)/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(2)/bin/
        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
        $(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libast*.la
-       $(SED) "s,-I/usr/include,,g" $(STAGING_DIR_HOST)/bin/libast-config
-       $(SED) "s,-L/usr/lib,,g" $(STAGING_DIR_HOST)/bin/libast-config
-       $(SED) "s,-L/usr/X11R6/lib,,g" $(STAGING_DIR_HOST)/bin/libast-config
+       $(SED) "s,-I/usr/include,,g" $(2)/bin/libast-config
+       $(SED) "s,-L/usr/lib,,g" $(2)/bin/libast-config
+       $(SED) "s,-L/usr/X11R6/lib,,g" $(2)/bin/libast-config
 endef
 
 define Package/libast/install