diff --git a/build.sh b/build.sh index 6b63ecf..dce1766 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,7 @@ # fix for modern GCC versions with --as-needed by default if [ "$DC" = "dmd" ]; then - LIBS="-lphobos2 $LIBS" + LIBS="-l:libphobos2.a $LIBS" elif [ "$DC" = "ldmd2" ]; then LIBS="-lphobos-ldc $LIBS" fi