mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-11-10 14:51:58 +00:00
fixed curl build
This commit is contained in:
parent
c1fd573abc
commit
955093947d
1 changed files with 9 additions and 2 deletions
|
@ -49,7 +49,14 @@ elseif(UNIX)
|
|||
# Build bundled cURL library
|
||||
#-----------------------------------------------------------------
|
||||
add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/libs/curl/lib/.libs/libcurl.a
|
||||
COMMAND ${CROSS_COMPILE32_FLAGS} ./configure --enable-shared=no --enable-static=yes --without-libssh2 --enable-http --enable-ftp --disable-gopher --enable-file --disable-ldap --disable-dict --disable-telnet --disable-manual --enable-libgcc --disable-ipv6 --disable-ares --without-ssl --without-zlib --without-libidn && make
|
||||
COMMAND ${CROSS_COMPILE32_FLAGS} ./configure
|
||||
--enable-shared=no --enable-static=yes
|
||||
--without-libssh2 --enable-http --enable-ftp
|
||||
--disable-gopher --enable-file --disable-ldap
|
||||
--disable-dict --disable-telnet --disable-manual
|
||||
--enable-libgcc --disable-ipv6 --disable-ares
|
||||
--without-ssl --without-zlib --without-libidn
|
||||
--without-librtmp && make
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/libs/curl
|
||||
)
|
||||
|
||||
|
@ -95,4 +102,4 @@ set(BUNDLED_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/libs/curl/include"
|
|||
"${CMAKE_SOURCE_DIR}/libs/jpeg"
|
||||
"${CMAKE_SOURCE_DIR}/libs/sdl/include"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue