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

Minor shell modernization

parent 0f1fdde1
No related branches found
No related tags found
No related merge requests found
......@@ -66,11 +66,11 @@ AM_PROG_AR
case ${host_os} in
*darwin*)
string="`$CXX --version`"
if test x"${string#*clang}" != x"$string"; then
string=$($CXX --version)
if test "${string#*clang}" != "$string"; then
CXXFLAGS="$CXXFLAGS -stdlib=libc++"
MATLAB_LIBS="$MATLAB_LIBS -lc++"
MATLAB_LDFLAGS="$MATLAB_LDFLAGS -Wl,-syslibroot,`xcrun -sdk macosx --show-sdk-path`"
MATLAB_LDFLAGS="$MATLAB_LDFLAGS -Wl,-syslibroot,$(xcrun -sdk macosx --show-sdk-path)"
else
MATLAB_LIBS="$MATLAB_LIBS -lstdc++"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment