Use shared GLFW3 library on Linux

This commit is contained in:
Milan Nikolic 2017-01-31 13:33:28 +01:00
parent 171dc9673a
commit 944d42629b
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ Golang bindings for [raylib](http://www.raylib.com/), a simple and easy-to-use l
##### Ubuntu
apt-get install libglfw3-dev
apt-get install openal-dev
apt-get install libopenal-dev
##### Fedora

View file

@ -1,7 +1,7 @@
package raylib
/*
#cgo linux,!arm LDFLAGS: -lglfw3 -lGL -lopenal -lm -pthread -ldl -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
#cgo linux,!arm LDFLAGS: -lglfw -lGL -lopenal -lm -pthread -ldl -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
#cgo linux,arm,!android LDFLAGS: -lGLESv2 -lEGL -lpthread -lrt -lm -lbcm_host -lvcos -lvchiq_arm -lopenal
#cgo windows LDFLAGS: -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm
#cgo darwin LDFLAGS: -lglfw -framework OpenGL -framework OpenAL -framework Cocoa