diff --git a/scripts/build.macos.release.sh b/scripts/build.macos.release.sh index 39d07e2ea..12b800da2 100644 --- a/scripts/build.macos.release.sh +++ b/scripts/build.macos.release.sh @@ -47,14 +47,11 @@ cmake -DCMAKE_CXX_STANDARD=11 . sudo make install -j6 > /dev/null cd .. -cp /usr/local/opt/zlib/lib/libz.a . -cp /usr/local/lib/libpcre2-8.a . - cmake -DCMAKE_BUILD_TYPE=Release . make -j6 rm subconverter # shellcheck disable=SC2046 -c++ -Xlinker -unexported_symbol -Xlinker "*" -o base/subconverter -framework CoreFoundation -framework Security $(find CMakeFiles/subconverter.dir/src/ -name "*.o") $(find . -name "*.a") -lcurl -O3 +c++ -Xlinker -unexported_symbol -Xlinker "*" -o base/subconverter -framework CoreFoundation -framework Security $(find CMakeFiles/subconverter.dir/src/ -name "*.o") "$(brew --prefix zlib)/lib/libz.a" "$(brew --prefix pcre2)/lib/libpcre2-8.a" -lcurl -O3 python -m ensurepip sudo python -m pip install gitpython