aboutsummaryrefslogtreecommitdiff
path: root/templates/basic_test/makefile
diff options
context:
space:
mode:
authorLelixSuper <emanuele98@openmailbox.org>2016-03-12 19:39:13 +0100
committerLelixSuper <emanuele98@openmailbox.org>2016-03-12 19:39:13 +0100
commit4d8f18e00b1755c88fb9702e4c467884f43009bd (patch)
treede92c72135096c4f3f47871e15ad689e0c668dde /templates/basic_test/makefile
parentea8363a3b0c87629d027e4aad13654e5cf6b2fe9 (diff)
downloadraylib-4d8f18e00b1755c88fb9702e4c467884f43009bd.tar.gz
raylib-4d8f18e00b1755c88fb9702e4c467884f43009bd.zip
Add a missing library for compiling on GNU/Linux
I've added "-ldl" library, it's necessary to compile the project.
Diffstat (limited to 'templates/basic_test/makefile')
-rw-r--r--templates/basic_test/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/basic_test/makefile b/templates/basic_test/makefile
index 29685a3b..84fc24cb 100644
--- a/templates/basic_test/makefile
+++ b/templates/basic_test/makefile
@@ -128,9 +128,9 @@ 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 -lglfw3 -lGLEW -lGL -lopenal -lm -pthread
+ 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
+ #LIBS += -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
else
ifeq ($(PLATFORM_OS),OSX)
# libraries for OS X 10.9 desktop compiling