浏览代码

Added required linker libs

Ray 11 年之前
父节点
当前提交
9b5e66f5ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  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