improve elfutils #2313 (#2314)

pull/2316/head
ruki 1 year ago committed by GitHub
parent 5e67fb470e
commit 48a5948619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/e/elfutils/xmake.lua

@ -67,8 +67,12 @@ package("elfutils")
table.insert(cflags, '-Dprogram_invocation_short_name=\\\"test\\\"')
table.insert(cflags, '-D_GNU_SOURCE=1')
end
local packagedeps = {"zlib"}
if package:is_plat("android") then
table.join2(packagedeps, "libintl", "argp-standalone")
end
import("package.tools.autoconf").install(package, configs, {cflags = cflags,
packagedeps = {"zlib", "libintl", "argp-standalone"}})
packagedeps = packagedeps})
if package:config("shared") then
os.rm(path.join(package:installdir("lib"), "*.a"))
else

Loading…
Cancel
Save