浏览代码

Merge pull request #110463 from kojurohan42/build-id-append-for-crashlytics

added build id link flag for firebase crashlytics support for android
Clay John 3 天之前
父节点
当前提交
bfa330dd5d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      platform/android/detect.py

+ 1 - 0
platform/android/detect.py

@@ -228,6 +228,7 @@ def configure(env: "SConsEnvironment"):
     # Link flags
 
     env.Append(LINKFLAGS=["-Wl,--gc-sections", "-Wl,--no-undefined", "-Wl,-z,now"])
+    env.Append(LINKFLAGS=["-Wl,--build-id"])
     env.Append(LINKFLAGS=["-Wl,-soname,libgodot_android.so"])
 
     env.Prepend(CPPPATH=["#platform/android"])