change the an openssl sed command to be safe for -Wl,-rpath-link in ldflags
authorFelix Fietkau <nbd@openwrt.org>
Wed, 3 Sep 2008 13:19:41 +0000 (13:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 3 Sep 2008 13:19:41 +0000 (13:19 +0000)
SVN-Revision: 12511

package/openssl/Makefile

index f19551d..dce7550 100644 (file)
@@ -122,7 +122,7 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(1)/usr/lib/
        mkdir -p $(1)/usr/lib/pkgconfig
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc $(1)/usr/lib/pkgconfig/
-       $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc
+       $(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc
 endef
 
 define Package/libopenssl/install