瀏覽代碼

Ensure libelf is linked on Linux build

nosoop 2 年之前
父節點
當前提交
cbf8cd770d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AMBuildScript

+ 1 - 1
AMBuildScript

@@ -218,7 +218,7 @@ class MMSConfig(object):
         'POSIX',
         '_LINUX',
       ]
-      cxx.linkflags += ['-shared']
+      cxx.linkflags += ['-shared', '-lelf']
       if cxx.family == 'gcc':
         cxx.linkflags += ['-static-libgcc']
     elif builder.target.platform == 'mac':