mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 01:32:26 +01:00
'pkg-config --cflags lua' returns a space with freedesktop and no space with pkgconf, so the the following gave different result: if test "$LUA_CFLAGS" = ""; then ...
14 lines
652 B
Diff
14 lines
652 B
Diff
--- ./configure.orig
|
|
+++ ./configure
|
|
@@ -29330,7 +29330,9 @@
|
|
$as_echo "$as_me: WARNING: Setting Lua include and lib flags to defaults in compat-5.1 and lua 5.1 sources" >&2;}
|
|
LUA_CFLAGS="-I/usr/local/include -I/usr/local/include/lua -I/usr/local/include/lua/$lua_vdot"
|
|
LUA_LFLAGS="-L/usr/local/lib -L/usr/local/lib/lua -L/usr/local/lib/lua/$lua_vdot $lua_libs"
|
|
- LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot"
|
|
+ if test -z "$LUA_INSTALL_CMOD"; then
|
|
+ LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot"
|
|
+ fi
|
|
fi
|
|
|
|
# Check whether --enable-lua-site-install was given.
|