Skip to content
Snippets Groups Projects
Verified Commit f2fb6417 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.

(cherry picked from commit 400979fd)
parent d3294ac4
Branches
Tags
No related merge requests found
......@@ -36,7 +36,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