Răsfoiți Sursa

Added required linker libs

Ray 11 ani în urmă
părinte
comite
9b5e66f5ea
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      templates/advance_game/makefile

+ 1 - 1
templates/advance_game/makefile

@@ -52,7 +52,7 @@ LFLAGS = -L. -L../../src -L/opt/vc/lib
 ifeq ($(PLATFORM),PLATFORM_RPI)
     # libraries for Raspberry Pi compiling
     # NOTE: OpenAL Soft library should be installed (libopenal1 package)
-    LIBS = -lraylib -lGLESv2 -lEGL -lm -lbcm_host -lopenal
+    LIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lbcm_host -lopenal
 else
     # libraries for Windows desktop compiling
     # NOTE: GLFW3 and OpenAL Soft libraries should be installed