File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ cfg_is_cross_compile=no
21
21
# build arches and build libraries
22
22
cfg_all_supported_arches =(" i386" " x86_64" )
23
23
cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " glfw" " openssl" " gafplayer" )
24
- cfg_default_arches_all =(" x86_64" " i386 " )
24
+ cfg_default_arches_all =(" x86_64" )
25
25
cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " glfw" " openssl" " gafplayer" )
26
26
27
27
Original file line number Diff line number Diff line change @@ -209,6 +209,8 @@ check_macosx_sdk()
209
209
210
210
add_make " MACOSX_SDK=${SDKROOT} "
211
211
add_make " OSX_VERSION ?= ${OSX_VERSION} "
212
+ # TODO: the system libssl.dylib would config with the one we built
213
+ # add_make "EXTRA_LDFLAGS := -L${SDKROOT}/usr/lib "
212
214
}
213
215
214
216
check_android_sdk ()
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ DEPS_curl = zlib $(DEPS_zlib)
18
18
DEPS_curl = openssl $(DEPS_openssl )
19
19
20
20
.curl : curl .zlib .openssl
21
+ $(RECONF )
21
22
cd $< && $(HOSTVARS_PIC ) ./configure $(HOSTCONF ) \
22
- --with-ssl \
23
+ --with-ssl= $( PREFIX ) \
23
24
--with-zlib \
24
-
25
+ --disable-ldap
25
26
# ifdef HAVE_ANDROID
26
27
# $(APPLY) $(SRC)/curl/android.patch
27
28
# endif
28
- cd $< && $(MAKE)
29
29
cd $< && $(MAKE) install
30
30
touch $@
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ ifdef HAVE_LINUX
77
77
cd $< && perl -i -pe "s|^CFLAG= (.*)|CFLAG= ${EXTRA_CFLAGS} ${OPTIM} |g" Makefile
78
78
endif
79
79
ifdef HAVE_MACOSX
80
- cd $< && perl -i -pe "s|^CC= xcrun clang|CC= xcrun cc -mmacosx-version-min=10.6 |g" Makefile
81
- cd $< && perl -i -pe "s|^CFLAG= (.*)|CFLAG= -isysroot ${MACOSX_SDK} -arch ${MY_TARGET_ARCH} ${OPTIM} |g" Makefile
80
+ cd $< && perl -i -pe "s|^CC= xcrun clang|CC= xcrun cc -arch ${MY_TARGET_ARCH} -mmacosx-version-min=10.7 |g" Makefile
81
+ cd $< && perl -i -pe "s|^CFLAG= (.*)|CFLAG= -isysroot ${MACOSX_SDK} ${OPTIM} |g" Makefile
82
82
endif
83
83
cd $< && $(MAKE) install
84
84
touch $@
You can’t perform that action at this time.
0 commit comments