mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
What is Xmake? - Xmake is a cross-platform build utility based on the Lua scripting language - Xmake is very lightweight and has no dependencies outside of the standard library. - Uses the xmake.lua file to maintain project builds with a simple and readable syntax WWW: https://xmake.io/ PR: 284724
13 lines
531 B
Bash
13 lines
531 B
Bash
--- core/xmake.sh.orig 2025-02-04 16:48:40 UTC
|
|
+++ core/xmake.sh
|
|
@@ -92,8 +92,8 @@ option_find_lua() {
|
|
local cflags=""
|
|
option "lua"
|
|
# detect lua5.4 on debian
|
|
- cflags=`pkg-config --cflags lua5.4 2>/dev/null`
|
|
- ldflags=`pkg-config --libs lua5.4 2>/dev/null`
|
|
+ cflags=`pkg-config --cflags lua-5.4 2>/dev/null`
|
|
+ ldflags=`pkg-config --libs lua-5.4 2>/dev/null`
|
|
# detect it on fedora
|
|
if test_z "${cflags}"; then
|
|
cflags=`pkg-config --cflags lua 2>/dev/null`
|