Use shared GLFW3 library on Linux
This commit is contained in:
parent
171dc9673a
commit
944d42629b
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ Golang bindings for [raylib](http://www.raylib.com/), a simple and easy-to-use l
|
||||||
##### Ubuntu
|
##### Ubuntu
|
||||||
|
|
||||||
apt-get install libglfw3-dev
|
apt-get install libglfw3-dev
|
||||||
apt-get install openal-dev
|
apt-get install libopenal-dev
|
||||||
|
|
||||||
##### Fedora
|
##### Fedora
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package raylib
|
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 linux,arm,!android LDFLAGS: -lGLESv2 -lEGL -lpthread -lrt -lm -lbcm_host -lvcos -lvchiq_arm -lopenal
|
||||||
#cgo windows LDFLAGS: -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm
|
#cgo windows LDFLAGS: -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm
|
||||||
#cgo darwin LDFLAGS: -lglfw -framework OpenGL -framework OpenAL -framework Cocoa
|
#cgo darwin LDFLAGS: -lglfw -framework OpenGL -framework OpenAL -framework Cocoa
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue