File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 121
121
122
122
BUILDDIR=" ${COCOSROOT} /build-ios-${PLATFORM} /${ARCH} "
123
123
124
- PREFIX=" ${COCOSROOT} /install-ios-${PLATFORM} /${ARCH} "
124
+ PREFIX=" ${COCOSROOT} /contrib/ install-ios-${PLATFORM} /${ARCH} "
125
125
126
126
export PATH=" /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
127
127
@@ -196,10 +196,12 @@ else
196
196
export ASCPP=" xcrun as"
197
197
fi
198
198
199
+
200
+
199
201
../bootstrap ${OPTIONS} \
200
202
--build=x86_64-apple-darwin14 \
201
203
--host=${TARGET} \
202
- --prefix=${COCOSROOT} /contrib/ ${TARGET} - ${ARCH } > ${out}
204
+ --prefix=${PREFIX } > ${out}
203
205
204
206
echo " EXTRA_CFLAGS += ${EXTRA_CFLAGS} " >> config.mak
205
207
echo " EXTRA_LDFLAGS += ${EXTRA_LDFLAGS} " >> config.mak
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ ifeq ($(IOS_ARCH),i386)
30
30
OPENSSL_CONFIG_VARS ="BSD-generic32"
31
31
endif
32
32
33
+ ifeq ($(IOS_ARCH ) ,arm64)
34
+ OPENSSL_CONFIG_VARS ="BSD-generic64"
35
+ endif
33
36
34
37
$(TARBALLS ) /openssl-$(OPENSSL_VERSION ) .tar.gz :
35
38
$(call download,$(OPENSSL_URL ) )
Original file line number Diff line number Diff line change 18
18
19
19
DEPS_websockets = zlib $(DEPS_zlib )
20
20
21
- DEPS_websockets = openssl $(DEPS_openssl )
22
-
23
- .websockets : websockets .zlib .openssl toolchain.cmake
24
- cd $< && $(HOSTVARS ) CFLAGS=" $( CFLAGS) $( EX_ECFLAGS) " $(CMAKE ) -DCMAKE_BUILD_TYPE=Release
21
+ .websockets : websockets .zlib toolchain.cmake
22
+ cd $< && $(HOSTVARS ) CFLAGS=" $( CFLAGS) $( EX_ECFLAGS) " $(CMAKE ) -DCMAKE_BUILD_TYPE=Release -DLWS_WITH_SSL=0
25
23
cd $< && $(MAKE ) install
26
24
touch $@
You can’t perform that action at this time.
0 commit comments