Fixed compile script *again*

This commit is contained in:
Shoghi Cervantes 2013-05-31 13:46:56 +02:00
parent 66e635daeb
commit 732f5f5168

View File

@ -245,7 +245,7 @@ $CONFIGURE_FLAGS >> "$DIR/install.log" 2>&1
echo -n " compiling..."
if [ "$1" == "android" ]; then
sed -i 's/-export-dynamic/-all-static/g' Makefile
elif [ "$1" == "crosscompile" ] && [ "$1" == "android" ]; then
elif [ "$1" == "crosscompile" ] && [ "$2" == "android" ]; then
sed -i 's/-export-dynamic/-all-static/g' Makefile
fi
make -j $THREADS >> "$DIR/install.log" 2>&1