Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mxml url #3164

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/m/mxml/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ package("mxml")
set_description("Mini-XML is a tiny XML library that you can use to read and write XML and XML-like data files in your application without requiring large non-standard libraries.")
set_license("Apache-2.0")

add_urls("https://github.com/michaelrsweet/mxml/releases/download/v3.3/mxml-3.3.zip")
add_versions("3.3.1", "fca59b0d7fae2b9165c223cdce68e45dbf41e21e5e53190d8b214218b8353380")
add_urls("https://github.com/michaelrsweet/mxml/releases/download/v$(version)/mxml-$(version).zip")
add_urls("https://github.com/michaelrsweet/mxml.git")
add_versions("3.3.1", "ca6b05725184866b9e5874329e98be22cbbdc1e733789e08b55b088be207484a")
add_versions("3.3", "fca59b0d7fae2b9165c223cdce68e45dbf41e21e5e53190d8b214218b8353380")

if is_plat("macosx", "linux") then
Expand All @@ -15,8 +16,7 @@ package("mxml")
io.gsub("config.h.in", "#undef (.-)\n", "${define %1}\n")
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")
includes("check_cfuncs.lua")
includes("check_ctypes.lua")
includes("@builtin/check")
if is_plat("macosx", "linux") then
set_configvar("HAVE_PTHREAD_H", 1)
end
Expand Down
Loading