Skip to content

Commit

Permalink
add the autoconf repo and system restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
benny-12 committed Jul 17, 2024
1 parent 496dc9e commit 84fea83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/e/exosip/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ package("exosip")

add_versions("5.3.0", "66c2b2ddcfdc8807054fa31f72a6068ef66d98bedd9aedb25b9031718b9906a2")

add_deps("osip")
add_deps("autoconf", "automake", "osip")

on_install(function (package)
on_install("@macosx", "@linux", "@bsd", function (package)
local configs = {}
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
Expand Down
4 changes: 3 additions & 1 deletion packages/o/osip/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ package("osip")

add_versions("5.3.0", "593c9d61150b230f7e757b652d70d5fe336c84db7e4db190658f9ef1597d59ed")

on_install(function (package)
add_deps("autoconf", "automake")

on_install("@macosx", "@linux", "@bsd", function (package)
local configs = {}
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
Expand Down

0 comments on commit 84fea83

Please sign in to comment.