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:
mconintet 2016-05-19 12:17:22 +08:00
parent a022b847b1
commit 59a52a1678
1 changed files with 3 additions and 1 deletions

View File

@ -22,5 +22,7 @@ echo "Creating $FWNAME.framework"
mkdir -p $FWNAME.framework/Headers
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 "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"