From 4d8f18e00b1755c88fb9702e4c467884f43009bd Mon Sep 17 00:00:00 2001 From: LelixSuper Date: Sat, 12 Mar 2016 19:39:13 +0100 Subject: Add a missing library for compiling on GNU/Linux I've added "-ldl" library, it's necessary to compile the project. --- templates/basic_test/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/basic_test/makefile') 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 -- cgit v1.2.3