From 871c3e6ae600a1cc380b6a4a0e8d482b0da3565d Mon Sep 17 00:00:00 2001 From: Ocraftyone Date: Sun, 29 Oct 2023 21:38:13 -0400 Subject: [PATCH] update deps/CMakeLists.txt and MPFR.cmake --- deps/CMakeLists.txt | 1 + deps/MPFR/MPFR.cmake | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 52e6022451e..aa158a69b41 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -133,6 +133,7 @@ else() ${_gen} CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:STRING=${DESTDIR}/usr/local + -DCMAKE_PREFIX_PATH:STRING=${DESTDIR}/usr/local -DBUILD_SHARED_LIBS:BOOL=OFF ${_cmake_osx_arch} "${_configs_line}" diff --git a/deps/MPFR/MPFR.cmake b/deps/MPFR/MPFR.cmake index c29bb39ad02..f8e95cc8085 100644 --- a/deps/MPFR/MPFR.cmake +++ b/deps/MPFR/MPFR.cmake @@ -30,7 +30,8 @@ else () URL_HASH SHA256=cf4f4b2d80abb79e820e78c8077b6725bbbb4e8f41896783c899087be0e94068 DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/MPFR BUILD_IN_SOURCE ON - CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt} + CONFIGURE_COMMAND autoreconf -f -i && + env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt} BUILD_COMMAND make -j INSTALL_COMMAND make install DEPENDS dep_GMP