packages: lvm2/lvm2.spec - fix one linking issue... now uClibc/glibc buil...

pluto pluto at pld-linux.org
Sat Nov 6 11:26:34 CET 2010


Author: pluto                        Date: Sat Nov  6 10:26:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix one linking issue...
  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.

---- Files affected:
packages/lvm2:
   lvm2.spec (1.164 -> 1.165) 

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.164 packages/lvm2/lvm2.spec:1.165
--- packages/lvm2/lvm2.spec:1.164	Tue Oct 26 20:11:31 2010
+++ packages/lvm2/lvm2.spec	Sat Nov  6 11:26:29 2010
@@ -245,6 +245,10 @@
 %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
@@ -410,6 +414,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.165  2010/11/06 10:26:29  pluto
+- fix one linking issue...
+  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.
+
 Revision 1.164  2010/10/26 18:11:31  arekm
 - up to 2.02.75 but fails on linking
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.164&r2=1.165&f=u



More information about the pld-cvs-commit mailing list