fix libgcrypt staging
authorFelix Fietkau <nbd@openwrt.org>
Thu, 27 Dec 2007 12:00:50 +0000 (12:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 27 Dec 2007 12:00:50 +0000 (12:00 +0000)
SVN-Revision: 9958

libs/libgcrypt/Makefile

index 410241a..1f90edc 100644 (file)
@@ -62,7 +62,7 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/
        $(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(1)/usr/bin/libgcrypt-config
        $(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/libgcrypt-config
-       ln -sf $(1)/usr/bin/libgcrypt-config $(2)/bin/
+       ln -sf $(STAGING_DIR)/usr/bin/libgcrypt-config $(2)/bin/
 endef
 
 define Package/libgcrypt/install