From 1c156beeeaa1f5d8e48c96dd94082adc534637ed Mon Sep 17 00:00:00 2001 From: "Spanbroek, Mark" Date: Fri, 21 Oct 2016 11:50:08 +0200 Subject: [PATCH] Fix: change dylib id to use @rpath. --- miniupnp.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniupnp.podspec b/miniupnp.podspec index 1c152a4..1a8bd71 100644 --- a/miniupnp.podspec +++ b/miniupnp.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |spec| spec.authors = "The MiniUPnP Authors" spec.license = { type: "BSD", file: "miniupnpc/LICENSE" } - spec.version = "2.0.0.1" + spec.version = "2.0.0.2" spec.source = { git: 'https://github.com/cpp-ethereum-ios/miniupnp.git', tag: "v#{spec.version}" @@ -42,7 +42,7 @@ Pod::Spec.new do |spec| create_universal_library() { lipo -create -output libminiupnpc.dylib \ build-ios/{armv7,arm64,i386,x86_64}/usr/lib/libminiupnpc.dylib - install_name_tool -id "$(pwd)/libminiupnpc.dylib" libminiupnpc.dylib + install_name_tool -id "@rpath/libminiupnpc.dylib" libminiupnpc.dylib } cd miniupnpc