From 69b3845a9c5d85c1d93996af8c7421c3932f7674 Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Mon, 1 Jun 2020 20:59:54 +0200 Subject: [PATCH] Let macos configure itself --- sodiumWrapper/configureMacos64.sh | 36 +------------------------------ 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/sodiumWrapper/configureMacos64.sh b/sodiumWrapper/configureMacos64.sh index 6c22adf..b5d7197 100755 --- a/sodiumWrapper/configureMacos64.sh +++ b/sodiumWrapper/configureMacos64.sh @@ -11,40 +11,6 @@ cd libsodium ./autogen.sh -s -f -if [ -z "$SYSROOT" ]; then - case $(uname -a) in - **Linux*x86_64**) - echo "Linux env" - GCC=${GCC:-gcc} - GCC=gcc - export CC=$(find $KONAN/dependencies -wholename *${ARCH/_/-}/bin/*$GCC | head -n1) - ;; - - **Linux*aarch64**) - echo "Linux ARM env" - GCC=${GCC:-gcc} - GCC=gcc - export CC=$(find $KONAN/dependencies -wholename *${ARCH/_/-}/bin/*$GCC | head -n1) - ;; - - - **Darwin*x86_64**) - echo "Darwin env" - GCC=${GCC:-clang} - export CC=$(find $KONAN/dependencies -wholename *${ARCH/_/-}/bin/*$GCC | head -n1) - ;; - - **MSYS*x86_64**) - echo "Msys env" - GCC=clang.exe - export CC=$(find $KONAN/dependencies -wholename *${ARCH}*/bin/*$GCC | head -n1) - ;; - - esac - - - echo "CC" - echo $CC -fi +#TODO set up konan apple clang ./configure --prefix=$PREFIX "$@"