Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
c8ef authored Jul 13, 2024
1 parent a56e814 commit 7f0fa95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/r/ragel/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ package("ragel")
"https://github.com/adrian-thurston/ragel.git")
add_versions("6.10", "5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f")

on_install(function (package)
on_install("linux", "windows|x64", function (package)
io.replace("ragel/main.cpp", "#include <unistd.h>", "", {plain = true})
io.writefile("xmake.lua", [[
add_rules("mode.release", "mode.debug")
target("ragel")
Expand Down

0 comments on commit 7f0fa95

Please sign in to comment.