فهرست منبع

Ensure libelf is linked on Linux build

nosoop 1 سال پیش
والد
کامیت
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':