瀏覽代碼

Android: Fixed missing link dependencies when building shared library.

Branimir Karadžić 11 年之前
父節點
當前提交
185c1fc400
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      premake/bgfx.lua

+ 6 - 0
premake/bgfx.lua

@@ -72,6 +72,12 @@ project "bgfx-shared-lib"
 			"BGFX_CONFIG_DEBUG=1",
 		}
 
+	configuration { "android*" }
+		links {
+			"EGL",
+			"GLESv2",
+		}
+
 	configuration { "windows" }
 		includedirs {
 			"$(DXSDK_DIR)/include",