Skip to content
Snippets Groups Projects
Commit 700a428a authored by Fons Rademakers's avatar Fons Rademakers
Browse files

not all shells understand $() syntax, replace by ` `.

git-svn-id: http://root.cern.ch/svn/root/trunk@5500 27541ba8-7e3a-0410-8455-c3a389f83636
parent d6aa2cfe
No related branches found
No related tags found
No related merge requests found
...@@ -62,18 +62,18 @@ elif [ $PLATFORM = "macosx" ]; then ...@@ -62,18 +62,18 @@ elif [ $PLATFORM = "macosx" ]; then
# We need two library files: a .dylib to link to and a .so to load # We need two library files: a .dylib to link to and a .so to load
BUNDLE=`echo $LIB | sed s/.dylib/.so/` BUNDLE=`echo $LIB | sed s/.dylib/.so/`
echo $LD $SOFLAGS $SONAME -o $LIB $OBJS \ echo $LD $SOFLAGS $SONAME -o $LIB $OBJS \
$([ -d /sw/lib ] && echo -L/sw/lib) -ldl $EXTRA `[ -d /sw/lib ] && echo -L/sw/lib` -ldl $EXTRA
$LD $SOFLAGS $SONAME -o $LIB $OBJS \ $LD $SOFLAGS $SONAME -o $LIB $OBJS \
$([ -d /sw/lib ] && echo -L/sw/lib) -ldl $EXTRA `[ -d /sw/lib ] && echo -L/sw/lib` -ldl $EXTRA
if [ "x`echo $SOFLAGS | grep -- '-g'`" != "x" ]; then if [ "x`echo $SOFLAGS | grep -- '-g'`" != "x" ]; then
opt=-g opt=-g
else else
opt=-O opt=-O
fi fi
echo $LD $opt -bundle -flat_namespace -undefined suppress -o $BUNDLE \ echo $LD $opt -bundle -flat_namespace -undefined suppress -o $BUNDLE \
$OBJS $([ -d /sw/lib ] && echo -L/sw/lib) -ldl $EXTRA $OBJS `[ -d /sw/lib ] && echo -L/sw/lib` -ldl $EXTRA
$LD $opt -bundle -flat_namespace -undefined suppress -o $BUNDLE \ $LD $opt -bundle -flat_namespace -undefined suppress -o $BUNDLE \
$OBJS $([ -d /sw/lib ] && echo -L/sw/lib) -ldl $EXTRA $OBJS `[ -d /sw/lib ] && echo -L/sw/lib` -ldl $EXTRA
elif [ $LD = "KCC" ]; then elif [ $LD = "KCC" ]; then
echo $LD $LDFLAGS -o $LIB $OBJS $EXTRA echo $LD $LDFLAGS -o $LIB $OBJS $EXTRA
$LD $LDFLAGS -o $LIB $OBJS $EXTRA $LD $LDFLAGS -o $LIB $OBJS $EXTRA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment