ports/devel/xmake-io/files/patch-core_xmake.sh
Huan Zhou 2a288c93ba devel/xmake-io: Cross-platform build utility based on Lua
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
2025-03-16 11:19:27 +01:00

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`