improve libmpdclient (#405)

pull/407/head
ruki 4 years ago committed by GitHub
parent 4c64cf63eb
commit 7f6e38973c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/l/libmpdclient/xmake.lua

@ -5,6 +5,11 @@ package("libmpdclient")
add_versions("2.19", "158aad4c2278ab08e76a3f2b0166c99b39fae00ee17231bd225c5a36e977a189")
add_deps("meson", "ninja")
if is_plat("linux") and is_arch("x86_64") then
add_linkdirs("lib/x86_64-linux-gnu")
add_links("mpdclient")
end
on_install("linux", function (package)
local configs = {}
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))

Loading…
Cancel
Save