Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
c8ef authored Oct 20, 2024
1 parent 2bc0d1f commit f7c63d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/t/tkrzw/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ package("tkrzw")
end

on_install("linux", function (package)
os.vrun("rm configure")
io.replace("configure.in", "AC_CHECK_LIB(atomic, main)", "")
os.vrun("sudo ln -s /lib/libatomic.so /lib/libatomic.a")
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"))
Expand Down

0 comments on commit f7c63d2

Please sign in to comment.