]> git.pld-linux.org Git - packages/lvm2.git/commitdiff
- fix one linking issue...
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 6 Nov 2010 10:26:29 +0000 (10:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  now uClibc/glibc builds fails on unresolved symbols checking:
   .../lib64/libdevmapper-event-lvm2.so.2.02
        dmeventd_debug
  while dietlibc build fails on lack of -lcompat.

Changed files:
    lvm2.spec -> 1.165

lvm2.spec

index 895b2e178b4b0a342c7ad6dbe84c4d1a2ab56a36..f5df7a9b8fa8fa00723050c83c44bd27d65f2109 100644 (file)
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -244,6 +244,10 @@ initramfs-tools.
 %patch4 -p1
 #%patch5 -p1
 
+# do not force --export-symbol linker option for e.g. statically linked exacutables
+# -rdynamic compiler option drives linker in the right way.
+%{__sed} -i -e 's#-Wl,--export-dynamic#-rdynamic#g' configure.in
+
 %build
 %if %{with initrd}
 echo Using %{?with_glibc:GLIBC} %{?with_uClibc:uClibc} %{?with_dietlibc:diet} for initrd
This page took 0.0919759999999999 seconds and 4 git commands to generate.