cmake/curl, libs3: use build command

This commit is contained in:
Minglei Jin 2023-10-23 19:35:22 +08:00
parent 7cf72a567d
commit 7d17c4cc90
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ ExternalProject_Add(curl
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 ""
INSTALL_COMMAND make clean && make install
BUILD_COMMAND make -j
INSTALL_COMMAND make install
TEST_COMMAND ""
)

View File

@ -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 ""
INSTALL_COMMAND make clean && make build/lib/libs3.a && make install_static
BUILD_COMMAND make build/lib/libs3.a
INSTALL_COMMAND make install_static
TEST_COMMAND ""
)