Fix file path
File path is not right if use this project as submodule like case in this project https://github.com/x2on/libssh2-for-iOS
This commit is contained in:
parent
a022b847b1
commit
59a52a1678
|
@ -22,5 +22,7 @@ echo "Creating $FWNAME.framework"
|
||||||
mkdir -p $FWNAME.framework/Headers
|
mkdir -p $FWNAME.framework/Headers
|
||||||
libtool -no_warning_for_no_symbols $LIBTOOL_FLAGS -o $FWNAME.framework/$FWNAME lib/libcrypto.a lib/libssl.a
|
libtool -no_warning_for_no_symbols $LIBTOOL_FLAGS -o $FWNAME.framework/$FWNAME lib/libcrypto.a lib/libssl.a
|
||||||
cp -r include/$FWNAME/* $FWNAME.framework/Headers/
|
cp -r include/$FWNAME/* $FWNAME.framework/Headers/
|
||||||
cp "OpenSSL-for-iOS/OpenSSL-for-iOS-Info.plist" $FWNAME.framework/Info.plist
|
|
||||||
|
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
|
cp $DIR/"OpenSSL-for-iOS/OpenSSL-for-iOS-Info.plist" $FWNAME.framework/Info.plist
|
||||||
echo "Created $FWNAME.framework"
|
echo "Created $FWNAME.framework"
|
||||||
|
|
Loading…
Reference in New Issue