diff --git a/build.sh b/build.sh index 61a938c..7c19537 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ # HACK to work around (r)dmd placing -lcurl before the object files - which is wrong if --as-needed is used # On newer Ubuntu versions this is the default, though -LIBS="-L--no-as-needed $LIBS" +uname -a | grep "Ubuntu" > /dev/null && LIBS="-L--no-as-needed $LIBS" rdmd --build-only -ofbin/dub -g -debug -w -property -Isource $* $LIBS source/app.d echo dub has been build to bin/dub. \ No newline at end of file