Commit: 581a15e9a79d0eb49e9e2cbc86df99e13d9a2636
Parent: 68f7354231adb3fd5e7b469ff4f0436acfd7ea32
Author: Randy Palamar
Date: Wed, 7 Aug 2024 09:30:08 -0600
don't open a console on win32
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -8,7 +8,7 @@ cc=${CC:-cc}
system_raylib=${USE_SYSTEM_RAYLIB:-$debug}
case $(uname -s) in
-MINGW64*) ldflags="$ldflags -lgdi32 -lwinmm" ;;
+MINGW64*) ldflags="$ldflags -mwindows -lgdi32 -lwinmm" ;;
esac
# NOTE: clones and builds a static raylib if system lib is not requested