X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=bootstrap.sh;h=93ee706b1ccf47772d4e6af96005f735a7f06a16;hb=291455f435a4319ce3460e2e47d8f036222a3f92;hp=2f749090ce61eb492b18b018371d23c6597a67b5;hpb=0d80cabf649b931b26e7055385156c75a7385d35;p=builder.git diff --git a/bootstrap.sh b/bootstrap.sh index 2f74909..93ee706 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -4,7 +4,7 @@ REQUIRED="misc core parser path regex++ getopt++" CFLAGS="-Iinclude `pkg-config --cflags sigc++-2.0`" LIBS="`pkg-config --libs sigc++-2.0` -lpthread" if [ -z "$LIBPATH" ]; then - LIBPATH=`pwd`/../libs + LIBPATH=`pwd`/.. fi mkdir -p include/msp @@ -17,10 +17,10 @@ for i in $REQUIRED; do echo $i missing exit 1 fi - if [ $i == "core" ]; then + if [ $i = "core" ]; then ln -sf $path/source/core include/msp/core ln -sf $path/source/time include/msp/time - elif [ $i == "misc" ]; then + elif [ $i = "misc" ]; then ln -sf $path/source/*.h include/msp else ln -sf $path/source include/msp/$i