Minor shell modernization
parent
0f1fdde166
commit
dee230bf32
|
@ -66,11 +66,11 @@ AM_PROG_AR
|
||||||
|
|
||||||
case ${host_os} in
|
case ${host_os} in
|
||||||
*darwin*)
|
*darwin*)
|
||||||
string="`$CXX --version`"
|
string=$($CXX --version)
|
||||||
if test x"${string#*clang}" != x"$string"; then
|
if test "${string#*clang}" != "$string"; then
|
||||||
CXXFLAGS="$CXXFLAGS -stdlib=libc++"
|
CXXFLAGS="$CXXFLAGS -stdlib=libc++"
|
||||||
MATLAB_LIBS="$MATLAB_LIBS -lc++"
|
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
|
else
|
||||||
MATLAB_LIBS="$MATLAB_LIBS -lstdc++"
|
MATLAB_LIBS="$MATLAB_LIBS -lstdc++"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue