瀏覽代碼

Make libuuid available on android/ios (#1791)

Jérôme Leclercq 2 年之前
父節點
當前提交
6974a39c47
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/l/libuuid/xmake.lua

+ 2 - 2
packages/l/libuuid/xmake.lua

@@ -1,14 +1,14 @@
 package("libuuid")
 package("libuuid")
-
     set_homepage("https://sourceforge.net/projects/libuuid")
     set_homepage("https://sourceforge.net/projects/libuuid")
     set_description("Portable uuid C library")
     set_description("Portable uuid C library")
+    set_license("BSD-3-Clause")
 
 
     set_urls("https://sourceforge.net/projects/libuuid/files/libuuid-$(version).tar.gz",
     set_urls("https://sourceforge.net/projects/libuuid/files/libuuid-$(version).tar.gz",
              "https://git.code.sf.net/p/libuuid/code.git")
              "https://git.code.sf.net/p/libuuid/code.git")
 
 
     add_versions("1.0.3", "46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644")
     add_versions("1.0.3", "46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644")
 
 
-    on_install("linux", "macosx", "wasm", function(package)
+    on_install("linux", "macosx", "android", "iphoneos", "wasm", function(package)
         local configs = {}
         local configs = {}
         table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
         table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
         table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
         table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))