From ce5b7d804eb0f387dde2da3e045aadb96d0a8ecf Mon Sep 17 00:00:00 2001 From: hooda Date: Tue, 19 Jul 2011 09:06:28 -0700 Subject: [PATCH] added pkg-config and corrected relative header position in #include to build properly on mingw32 on windows 7 --- mixer/mixer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mixer/mixer.go b/mixer/mixer.go index 5395dd8..8a84397 100644 --- a/mixer/mixer.go +++ b/mixer/mixer.go @@ -7,8 +7,9 @@ functions have been changed to be in a more object-oriented style */ package mixer +// #cgo pkg-config: SDL_mixer // #cgo LDFLAGS: -lSDL_mixer -// #include +// #include "SDL_mixer.h" import "C" import "unsafe"