libgcrypt needs the libgpg-error config script in $(STAGING_DIR)/usr/bin

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12972 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-10-13 15:42:57 +00:00
parent 9774823d71
commit 91612a205c

View File

@ -50,13 +50,14 @@ define Build/Configure
endef
define Build/InstallDev
$(INSTALL_DIR) $(2)/bin
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/gpg-error-config \
$(2)/bin/
$(SED) \
's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
$(2)/bin/gpg-error-config
ln -sf $(STAGING_DIR)/host/bin/gpg-error-config $(1)/usr/bin/gpg-error-config
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DATA) \