Browse Source

fix pupnp and noise-c (#838)

* fix pupnp and noise-c

* remove unused dir

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua
ruki 3 years ago
parent
commit
e2acc19de2
2 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/n/noise-c/xmake.lua
  2. 0 0
      packages/p/pupnp/xmake.lua

+ 2 - 2
packages/noise-c/xmake.lua → packages/n/noise-c/xmake.lua

@@ -6,9 +6,9 @@ package("noise-c")
     add_urls("https://github.com/rweather/noise-c.git")
     add_versions("2021.04.09", "9379e580a14c0374a57d826a49ba53b7440c80bc")
 
-    add_deps("autoconf", "automake")
+    add_deps("autoconf", "automake", "bison", "flex")
 
-    on_install(function (package)
+    on_install("linux", "macosx", function (package)
         local configs = {}
         table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
         if package:debug() then

+ 0 - 0
packages/pupnp/xmake.lua → packages/p/pupnp/xmake.lua