Unverified Commit 400979fd authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

macOS: fix handling LDFLAGS when building MEX for Octave

If something was already in LDFLAGS, it was concatenated without a whitespace,
leading to failure.
parent 87718ce8
......@@ -37,7 +37,7 @@ AC_CANONICAL_HOST
case ${host_os} in
darwin*)
CXXFLAGS="$($MKOCTFILE -p ALL_CXXFLAGS) -Wall -Wno-parentheses -Wold-style-cast -O2"
LDFLAGS+="$($MKOCTFILE -p OCTAVE_LIBS)"
LDFLAGS+=" $($MKOCTFILE -p OCTAVE_LIBS)"
;;
esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment