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 1944
1944
CURRENT_PROJECT_VERSION = 1;
1945
1945
DYLIB_COMPATIBILITY_VERSION = 1;
1946
1946
DYLIB_CURRENT_VERSION = 1;
1947
- ENABLE_BITCODE = NO;
1948
1947
HEADER_SEARCH_PATHS = (
1949
1948
"$(inherited)",
1950
1949
"External/libssh2-ios/include/libssh2",
2009
2008
CURRENT_PROJECT_VERSION = 1;
2010
2009
DYLIB_COMPATIBILITY_VERSION = 1;
2011
2010
DYLIB_CURRENT_VERSION = 1;
2012
- ENABLE_BITCODE = NO;
2013
2011
HEADER_SEARCH_PATHS = (
2014
2012
"$(inherited)",
2015
2013
"External/libssh2-ios/include/libssh2",
2042
2040
CURRENT_PROJECT_VERSION = 1;
2043
2041
DYLIB_COMPATIBILITY_VERSION = 1;
2044
2042
DYLIB_CURRENT_VERSION = 1;
2045
- ENABLE_BITCODE = NO;
2046
2043
HEADER_SEARCH_PATHS = (
2047
2044
"$(inherited)",
2048
2045
"External/libssh2-ios/include/libssh2",
2075
2072
CURRENT_PROJECT_VERSION = 1;
2076
2073
DYLIB_COMPATIBILITY_VERSION = 1;
2077
2074
DYLIB_CURRENT_VERSION = 1;
2078
- ENABLE_BITCODE = NO;
2079
2075
HEADER_SEARCH_PATHS = (
2080
2076
"$(inherited)",
2081
2077
"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