Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 328 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 328 Bytes

Build

Linux

go build -ldflags "-s -w" -buildmode=c-shared -o ./libplaysound.so

Windows

GOOS=windows CGO_ENABLED=1 CC=x86_64-w64-mingw32-cc go build -ldflags "-s -w" -buildmode=c-shared -o ./libplaysound.dll

OSX

go build -ldflags "-s -w" -buildmode=c-shared -o ./libplaysound.osx.so