]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- remove superfluous -lexpat option during lua building
authorKacper Kornet <draenog@pld-linux.org>
Mon, 23 Sep 2013 18:55:37 +0000 (19:55 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Mon, 23 Sep 2013 18:56:42 +0000 (19:56 +0100)
rpm-lua-expat.patch [new file with mode: 0644]
rpm.spec

diff --git a/rpm-lua-expat.patch b/rpm-lua-expat.patch
new file mode 100644 (file)
index 0000000..a3ac839
--- /dev/null
@@ -0,0 +1,14 @@
+--- lua/Makefile.am~   2013-06-29 22:03:22.000000000 +0100
++++ lua/Makefile.am    2013-09-23 19:07:35.157853272 +0100
+@@ -230,7 +230,10 @@
+ #     local/lwrs.h
+ #     local/lwrs.c
+-liblua_la_LIBADD = @WITH_LUA_SUBDIR_LIB@ -lm -lexpat
++liblua_la_LIBADD = @WITH_LUA_SUBDIR_LIB@ -lm
++if USE_LUA_CRYPTO
++liblua_la_LIBADD += -lexpat
++endif
+ liblua_la_SOURCES += \
+       local/llocal.c \
+       local/llocal.h \
index 7983ca9066ee6e66185f501402c143c6f42806e4..b46091b6e68955e866dedc52e8a98113aac798ba 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -157,6 +157,7 @@ Patch73:    gem_helper-spec-arg.patch
 Patch74:       rpm-fix-internal-lua-build.patch
 Patch75:       rpm-double_check_file_deps.patch
 Patch76:       rpm-revert-debugedit-breakage.patch
+Patch77:       %{name}-lua-expat.patch
 
 # Patches imported from Mandriva
 
@@ -902,6 +903,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch74 -p1
 %patch75 -p1
 %patch76 -p0
+%patch77 -p0
 
 %patch1000 -p1
 %patch1001 -p1
This page took 0.260806 seconds and 4 git commands to generate.