Browse Source

Added required linker libs

Ray 11 năm trước cách đây
mục cha
commit
c790891e60
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      templates/simple_game/makefile

+ 1 - 1
templates/simple_game/makefile

@@ -56,7 +56,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