From bb803e4cc319e3c79dbfc720204a1a996fcaef47 Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Sun, 9 Sep 2018 21:26:27 +0200 Subject: [PATCH] Added -static flag to LDFLAGS for static build. --- allegro5/c_windows_static.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allegro5/c_windows_static.go b/allegro5/c_windows_static.go index 3bbb6da..cfca8fd 100644 --- a/allegro5/c_windows_static.go +++ b/allegro5/c_windows_static.go @@ -2,5 +2,5 @@ package allegro5 -// #cgo LDFLAGS: -lallegro_monolith-static -ljpeg -ldumb -lFLAC -lfreetype -lvorbisfile -lvorbis -logg -lphysfs -lpng16 -lzlib -luuid -lkernel32 -lwinmm -lpsapi -lopengl32 -lglu32 -luser32 -lcomdlg32 -lgdi32 -lshell32 -lole32 -ladvapi32 -lws2_32 -lshlwapi -lstdc++ +// #cgo LDFLAGS: -lallegro_monolith-static -static -ljpeg -ldumb -lFLAC -lfreetype -lvorbisfile -lvorbis -logg -lphysfs -lpng16 -lzlib -luuid -lkernel32 -lwinmm -lpsapi -lopengl32 -lglu32 -luser32 -lcomdlg32 -lgdi32 -lshell32 -lole32 -ladvapi32 -lws2_32 -lshlwapi -lstdc++ import "C"