mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libtool-bin: don't rely on STAGING_DIR_HOST
We can just set GREP and SED in the configure command instead of fixing up the paths using sed afterwards. This makes the build more robust (and we're currently preparing a change of the host staging dirs in LEDE that might break this otherwise). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -22,6 +22,8 @@ PKG_INSTALL:=1
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
CONFIGURE_VARS += GREP=grep SED=sed
|
||||||
|
|
||||||
define Package/libtool-bin
|
define Package/libtool-bin
|
||||||
SECTION:=devel
|
SECTION:=devel
|
||||||
CATEGORY:=Development
|
CATEGORY:=Development
|
||||||
@@ -39,7 +41,6 @@ endef
|
|||||||
define Package/libtool-bin/install
|
define Package/libtool-bin/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
|
||||||
$(SED) 's|$(STAGING_DIR_HOST)||g' $(1)/usr/bin/libtoolize
|
|
||||||
$(INSTALL_DIR) $(1)/usr/share/aclocal/
|
$(INSTALL_DIR) $(1)/usr/share/aclocal/
|
||||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/*.m4 \
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/*.m4 \
|
||||||
$(1)/usr/share/aclocal/
|
$(1)/usr/share/aclocal/
|
||||||
|
|||||||
Reference in New Issue
Block a user