Skip to content
Snippets Groups Projects
Verified 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
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment