File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed
ObjectiveGitFramework.xcodeproj Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1908
1908
CURRENT_PROJECT_VERSION = 1;
1909
1909
DYLIB_COMPATIBILITY_VERSION = 1;
1910
1910
DYLIB_CURRENT_VERSION = 1;
1911
- ENABLE_BITCODE = NO;
1912
1911
HEADER_SEARCH_PATHS = (
1913
1912
"$(inherited)",
1914
1913
"External/libssh2-ios/include/libssh2",
1973
1972
CURRENT_PROJECT_VERSION = 1;
1974
1973
DYLIB_COMPATIBILITY_VERSION = 1;
1975
1974
DYLIB_CURRENT_VERSION = 1;
1976
- ENABLE_BITCODE = NO;
1977
1975
HEADER_SEARCH_PATHS = (
1978
1976
"$(inherited)",
1979
1977
"External/libssh2-ios/include/libssh2",
2006
2004
CURRENT_PROJECT_VERSION = 1;
2007
2005
DYLIB_COMPATIBILITY_VERSION = 1;
2008
2006
DYLIB_CURRENT_VERSION = 1;
2009
- ENABLE_BITCODE = NO;
2010
2007
HEADER_SEARCH_PATHS = (
2011
2008
"$(inherited)",
2012
2009
"External/libssh2-ios/include/libssh2",
2039
2036
CURRENT_PROJECT_VERSION = 1;
2040
2037
DYLIB_COMPATIBILITY_VERSION = 1;
2041
2038
DYLIB_CURRENT_VERSION = 1;
2042
- ENABLE_BITCODE = NO;
2043
2039
HEADER_SEARCH_PATHS = (
2044
2040
"$(inherited)",
2045
2041
"External/libssh2-ios/include/libssh2",
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ function build_libgit2 ()
51
51
-DBUILD_CLAR:BOOL=OFF \
52
52
-DTHREADSAFE:BOOL=ON \
53
53
-DCURL:BOOL=OFF \
54
+ -DCMAKE_C_FLAGS:STRING=" -fembed-bitcode" \
54
55
" ${SYS_ROOT} " \
55
56
-DCMAKE_OSX_ARCHITECTURES:STRING=" ${ARCH} " \
56
57
.. >> " ${LOG} " 2>&1
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ function build_ssh2 ()
24
24
cp -R " ${ROOT_PATH} /External/libssh2" " ${ROOT_PATH} /External/libssh2-ios/src/"
25
25
pushd " ${ROOT_PATH} /External/libssh2-ios/src/libssh2" > /dev/null
26
26
27
- export CFLAGS=" -arch ${ARCH} -pipe -no-cpp-precomp -isysroot ${SDKROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} "
28
- export CPPFLAGS=" -arch ${ARCH} -pipe -no-cpp-precomp -isysroot ${SDKROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} "
27
+ export CFLAGS=" -arch ${ARCH} -fembed-bitcode - pipe -no-cpp-precomp -isysroot ${SDKROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} "
28
+ export CPPFLAGS=" -arch ${ARCH} -fembed-bitcode - pipe -no-cpp-precomp -isysroot ${SDKROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} "
29
29
30
30
mkdir -p " ${ROOT_PATH} /External/libssh2-ios/bin/${SDKNAME} -${ARCH} .sdk"
31
31
LOG=" ${ROOT_PATH} /External/libssh2-ios/bin/${SDKNAME} -${ARCH} .sdk/build-libssh2.log"
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function build_ssl ()
43
43
echo " $LOG "
44
44
45
45
./Configure ${HOST} ${CONFIG} --openssldir=" /tmp/openssl-${ARCH} " >> " ${LOG} " 2>&1
46
- perl -i -pe " s|^CC= gcc|CC= ${CLANG} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -arch ${ARCH} |g" Makefile >> " ${LOG} " 2>&1
46
+ perl -i -pe " s|^CC= gcc|CC= ${CLANG} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -arch ${ARCH} -fembed-bitcode |g" Makefile >> " ${LOG} " 2>&1
47
47
perl -i -pe " s|^CFLAG= (.*)|CFLAG= -isysroot ${SDKROOT} \$ 1|g" Makefile >> " ${LOG} " 2>&1
48
48
make >> " ${LOG} " 2>&1
49
49
You can’t perform that action at this time.
0 commit comments