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 410241a39ab4ee34f3ccf95cabc0dc59129df426..1f90edcce10716dfd70cb78f8292547c4f77c6a4 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