Make libuuid available on android/ios (#1791)

pull/1794/head
Jérôme Leclercq 2 years ago committed by GitHub
parent 0f348266fe
commit 6974a39c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/l/libuuid/xmake.lua

@ -1,14 +1,14 @@
package("libuuid")
set_homepage("https://sourceforge.net/projects/libuuid")
set_description("Portable uuid C library")
set_license("BSD-3-Clause")
set_urls("https://sourceforge.net/projects/libuuid/files/libuuid-$(version).tar.gz",
"https://git.code.sf.net/p/libuuid/code.git")
add_versions("1.0.3", "46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644")
on_install("linux", "macosx", "wasm", function(package)
on_install("linux", "macosx", "android", "iphoneos", "wasm", 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"))

Loading…
Cancel
Save