[packages/lua-lpeg] add %{rpmldflags} to DLLFLAGS
atler
atler at pld-linux.org
Sun May 19 14:16:50 CEST 2024
commit 1765f08df9fa779e3c06e69d26daa95c84675b27
Author: Jan Palus <atler at pld-linux.org>
Date: Sun May 19 14:11:24 2024 +0200
add %{rpmldflags} to DLLFLAGS
lua-lpeg.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lua-lpeg.spec b/lua-lpeg.spec
index 7574ca4..e02a287 100644
--- a/lua-lpeg.spec
+++ b/lua-lpeg.spec
@@ -47,7 +47,7 @@ Expression Grammars (PEGs).
CC="%{__cc}" \
COPT="%{rpmcflags}" \
LUADIR=$(pkg-config --variable includedir lua%{luaver}) \
- DLLFLAGS="-shared -fPIC $(pkg-config --libs lua%{luaver})"
+ DLLFLAGS="%{rpmldflags} -shared -fPIC $(pkg-config --libs lua%{luaver})"
%if %{with tests}
%{__lua} test.lua
@@ -61,7 +61,7 @@ install -D lpeg.so build-%{luaver}/lpeg.so
CC="%{__cc}" \
COPT="%{rpmcflags}" \
LUADIR=$(pkg-config --variable includedir luajit) \
- DLLFLAGS="-shared -fPIC $(pkg-config --libs luajit)"
+ DLLFLAGS="%{rpmldflags} -shared -fPIC $(pkg-config --libs luajit)"
%if %{with tests}
%{__luajit} test.lua
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lua-lpeg.git/commitdiff/3806fb255681362403008ebb2dd3c3d74a05bc67
More information about the pld-cvs-commit
mailing list