Fix: change dylib id to use @rpath.
This commit is contained in:
parent
9a3f72591d
commit
1c156beeea
|
@ -5,7 +5,7 @@ Pod::Spec.new do |spec|
|
||||||
spec.authors = "The MiniUPnP Authors"
|
spec.authors = "The MiniUPnP Authors"
|
||||||
spec.license = { type: "BSD", file: "miniupnpc/LICENSE" }
|
spec.license = { type: "BSD", file: "miniupnpc/LICENSE" }
|
||||||
|
|
||||||
spec.version = "2.0.0.1"
|
spec.version = "2.0.0.2"
|
||||||
spec.source = {
|
spec.source = {
|
||||||
git: 'https://github.com/cpp-ethereum-ios/miniupnp.git',
|
git: 'https://github.com/cpp-ethereum-ios/miniupnp.git',
|
||||||
tag: "v#{spec.version}"
|
tag: "v#{spec.version}"
|
||||||
|
@ -42,7 +42,7 @@ Pod::Spec.new do |spec|
|
||||||
create_universal_library() {
|
create_universal_library() {
|
||||||
lipo -create -output libminiupnpc.dylib \
|
lipo -create -output libminiupnpc.dylib \
|
||||||
build-ios/{armv7,arm64,i386,x86_64}/usr/lib/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
|
cd miniupnpc
|
||||||
|
|
Loading…
Reference in New Issue