From 944d42629baeb313b23210150f4f3471463e5219 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Tue, 31 Jan 2017 13:33:28 +0100 Subject: [PATCH] Use shared GLFW3 library on Linux --- README.md | 2 +- raylib/cgo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a00a3b..555a81c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/raylib/cgo.go b/raylib/cgo.go index 3a49da4..42ecf63 100644 --- a/raylib/cgo.go +++ b/raylib/cgo.go @@ -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