mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-01 06:34:20 +00:00
Not everyone uses bash, so fix test syntax.
llvm-svn: 206118
This commit is contained in:
parent
44a53da346
commit
71e07d7175
@ -50,7 +50,7 @@ case $TRIPLE in
|
|||||||
RC_CFLAGS="-arch i386 -arch x86_64"
|
RC_CFLAGS="-arch i386 -arch x86_64"
|
||||||
fi
|
fi
|
||||||
SOEXT=dylib
|
SOEXT=dylib
|
||||||
if [ "$MACOSX_DEPLOYMENT_TARGET" == "10.6" ]
|
if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
|
||||||
then
|
then
|
||||||
EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
|
EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
|
||||||
LDSHARED_FLAGS="-o libc++.1.dylib \
|
LDSHARED_FLAGS="-o libc++.1.dylib \
|
||||||
@ -106,7 +106,7 @@ case $TRIPLE in
|
|||||||
hostOS=`echo $hostOS | sed -e "s/\s+$//"`
|
hostOS=`echo $hostOS | sed -e "s/\s+$//"`
|
||||||
hostOS=`echo $hostOS | tr '[A-Z]' '[a-z]'`
|
hostOS=`echo $hostOS | tr '[A-Z]' '[a-z]'`
|
||||||
|
|
||||||
if [ $hostOS == "linux" ]
|
if [ $hostOS = "linux" ]
|
||||||
then
|
then
|
||||||
LDSHARED_FLAGS="-o libc++.so.1 \
|
LDSHARED_FLAGS="-o libc++.so.1 \
|
||||||
-qmkshrobj -Wl,-soname,libc++.so.1 \
|
-qmkshrobj -Wl,-soname,libc++.so.1 \
|
||||||
@ -158,7 +158,7 @@ case $TRIPLE in
|
|||||||
*-*-mingw*)
|
*-*-mingw*)
|
||||||
;;
|
;;
|
||||||
*-ibm-*)
|
*-ibm-*)
|
||||||
if [ $hostOS == "linux" ]
|
if [ $hostOS = "linux" ]
|
||||||
then
|
then
|
||||||
rm -f libc++.so
|
rm -f libc++.so
|
||||||
ln -s libc++.so.1 libc++.so
|
ln -s libc++.so.1 libc++.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user