aboutsummaryrefslogtreecommitdiff
path: root/examples/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 /examples/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 'examples/makefile')
-rw-r--r--examples/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/makefile b/examples/makefile
index beaecfe2..10237aa6 100644
--- a/examples/makefile
+++ b/examples/makefile
@@ -126,7 +126,7 @@ 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
else