cmake/curl, libs3, ssl: clean source dir before building
This commit is contained in:
parent
80fb38f172
commit
62cd6f3ed2
|
@ -12,9 +12,10 @@ ExternalProject_Add(curl
|
|||
BUILD_ALWAYS 1
|
||||
#UPDATE_COMMAND ""
|
||||
#CONFIGURE_COMMAND ./configure --prefix=$ENV{HOME}/.cos-local.1 --without-ssl --enable-shared=no --disable-ldap --disable-ldaps --without-brotli --without-zstd
|
||||
CONFIGURE_COMMAND ./configure --prefix=$ENV{HOME}/.cos-local.1 --with-ssl=$ENV{HOME}/.cos-local.1 --enable-shared=no --disable-ldap --disable-ldaps --without-brotli --without-zstd --without-libidn2
|
||||
CONFIGURE_COMMAND ./configure --prefix=$ENV{HOME}/.cos-local.1 --with-ssl=$ENV{HOME}/.cos-local.1 --enable-shared=no --disable-ldap --disable-ldaps --without-brotli --without-zstd --without-libidn2 #--enable-debug
|
||||
|
||||
#CONFIGURE_COMMAND ./configure --without-ssl
|
||||
BUILD_COMMAND make
|
||||
INSTALL_COMMAND make install
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND make clean && make install
|
||||
TEST_COMMAND ""
|
||||
)
|
||||
|
|
|
@ -23,7 +23,7 @@ ExternalProject_Add(libs3
|
|||
CONFIGURE_COMMAND cp ${TD_SUPPORT_DIR}/libs3.GNUmakefile GNUmakefile && sed -i "s|CFLAGS += -Wall -Werror|CFLAGS += -I'$ENV{HOME}/.cos-local.1/include' -L'$ENV{HOME}/.cos-local.1/lib' |" ./GNUmakefile
|
||||
#BUILD_COMMAND make CFLAGS=${s3_flags} DESTDIR=$ENV{HOME}/.cos-local.1 build/lib/libs3.a
|
||||
#BUILD_COMMAND make DESTDIR="$ENV{HOME}/.cos-local.1" build/lib/libs3.a
|
||||
BUILD_COMMAND make build/lib/libs3.a
|
||||
INSTALL_COMMAND make install_static
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND make clean && make build/lib/libs3.a && make install_static
|
||||
TEST_COMMAND ""
|
||||
)
|
||||
|
|
|
@ -10,6 +10,6 @@ ExternalProject_Add(openssl
|
|||
#UPDATE_COMMAND ""
|
||||
CONFIGURE_COMMAND ./Configure --prefix=$ENV{HOME}/.cos-local.1 -static #--no-shared
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND make install_sw -j
|
||||
INSTALL_COMMAND make clean && make install_sw -j
|
||||
TEST_COMMAND ""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue