summaryrefslogtreecommitdiffhomepage
path: root/games/drturtle
diff options
context:
space:
mode:
authorDaniel Lemos <[email protected]>2016-11-21 04:13:40 -0200
committerDaniel Lemos <[email protected]>2016-11-24 03:26:47 +0000
commitfda91436b5749912548292842f7797d0dbb7bc55 (patch)
treee0cd5d7ad356585d2c47ff4068e3689725e92a36 /games/drturtle
parent0925f4ec4db5cf280ab988d8559f07996c1b0e16 (diff)
downloadraylib-fda91436b5749912548292842f7797d0dbb7bc55.tar.gz
raylib-fda91436b5749912548292842f7797d0dbb7bc55.zip
[games] Fix building the games on Linux by adding missing libs
Diffstat (limited to 'games/drturtle')
-rw-r--r--games/drturtle/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/drturtle/makefile b/games/drturtle/makefile
index f9efd3e8..0a45e18a 100644
--- a/games/drturtle/makefile
+++ b/games/drturtle/makefile
@@ -112,8 +112,10 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
# libraries for Debian GNU/Linux desktop compiling
# requires the following packages:
# libglfw3-dev libopenal-dev libglew-dev libegl1-mesa-dev
- LIBS = -lraylib -lglfw -lGLEW -lGL -lopenal
- endif
+ LIBS = -lraylib -lglfw3 -lGLEW -lGL -lopenal -lm -pthread -ldl
+ # on XWindow could require also below libraries, just uncomment
+ #LIBS += -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
+ else
ifeq ($(PLATFORM_OS),OSX)
# libraries for OS X 10.9 desktop compiling
# requires the following packages:
@@ -124,6 +126,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
# NOTE: GLFW3 and OpenAL Soft libraries should be installed
LIBS = -lraylib -lglfw3 -lglew32 -lopengl32 -lopenal32 -lgdi32
endif
+ endif
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
# libraries for Raspberry Pi compiling