Skip to content
Snippets Groups Projects
Verified Commit 9d95dadb authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

macOS package: another workaround for XCode 15

parent c1a46fed
No related branches found
No related tags found
No related merge requests found
...@@ -41,8 +41,9 @@ ln -s /usr/local/opt/gcc/lib/gcc/$GCC_VERSION/libquadmath.a $QUADMATH_DIR ...@@ -41,8 +41,9 @@ ln -s /usr/local/opt/gcc/lib/gcc/$GCC_VERSION/libquadmath.a $QUADMATH_DIR
## ##
cd "$ROOTDIR" cd "$ROOTDIR"
# NB: the addition of -Wl,-ld_classic is a workaround for https://github.com/mesonbuild/meson/issues/12282 (see also the native file)
common_meson_opts=(-Dbuild_for=matlab -Dbuildtype=release -Dprefer_static=true -Dfortran_args="[ '-B', '$LIB64/Slicot/' ]" \ common_meson_opts=(-Dbuild_for=matlab -Dbuildtype=release -Dprefer_static=true -Dfortran_args="[ '-B', '$LIB64/Slicot/' ]" \
-Dc_link_args="[ '-L$QUADMATH_DIR' ]" -Dcpp_link_args="[ '-L$QUADMATH_DIR' ]" -Dfortran_link_args="[ '-L$QUADMATH_DIR' ]" \ -Dc_link_args="[ '-Wl,-ld_classic', '-L$QUADMATH_DIR' ]" -Dcpp_link_args="[ '-Wl,-ld_classic', '-L$QUADMATH_DIR' ]" -Dfortran_link_args="[ '-Wl,-ld_classic', '-L$QUADMATH_DIR' ]" \
--native-file scripts/homebrew-native.ini) --native-file scripts/homebrew-native.ini)
# Build for MATLAB ⩾ R2018a # Build for MATLAB ⩾ R2018a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment