From 8a6c8a8371aa176c7dc1bfa2e876db0dfb03aade Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Fri, 19 Aug 2022 13:43:19 +0200 Subject: [PATCH] Update .github/scripts/app/bootstrap_mac.sh --- .github/scripts/app/bootstrap_mac.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/scripts/app/bootstrap_mac.sh b/.github/scripts/app/bootstrap_mac.sh index fad97fc0b..07e393c47 100755 --- a/.github/scripts/app/bootstrap_mac.sh +++ b/.github/scripts/app/bootstrap_mac.sh @@ -36,6 +36,7 @@ main() { echo "checking otp" file `which erlc` erl +V + erl -noshell -eval 'io:format("root_dir=~p~n", [code:root_dir()]), halt().' erl -noshell -eval 'ok = crypto:start(), io:format("crypto ok~n"), halt().' erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().' echo @@ -73,13 +74,7 @@ build_wxwidgets() { --prefix=$dest_dir \ --with-cocoa \ --with-macosx-version-min=10.15 \ - --with-libjpeg=builtin \ - --with-libtiff=builtin \ - --with-libpng=builtin \ - --with-liblzma=builtin \ - --with-zlib=builtin \ - --with-expat=builtin \ - --with-regex=builtin + --disable-sys-libs make make install cd - @@ -102,9 +97,11 @@ build_otp() { cd $src_dir export ERL_TOP=`pwd` + export ERLC_USE_SERVER=true ./otp_build configure \ --disable-dynamic-ssl-lib \ - --with-ssl=$openssl_dir + --with-ssl=$openssl_dir \ + --without-odbc ./otp_build boot -a ./otp_build release -a $RELEASE_ROOT