SOURCES: lvm2-selinux.patch - don't use selinux in static builds

adamg adamg at pld-linux.org
Sat Jun 21 11:15:28 CEST 2008


Author: adamg                        Date: Sat Jun 21 09:15:28 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't use selinux in static builds

---- Files affected:
SOURCES:
   lvm2-selinux.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/lvm2-selinux.patch
diff -u SOURCES/lvm2-selinux.patch:1.1 SOURCES/lvm2-selinux.patch:1.2
--- SOURCES/lvm2-selinux.patch:1.1	Wed Oct 31 18:53:37 2007
+++ SOURCES/lvm2-selinux.patch	Sat Jun 21 11:15:22 2008
@@ -1,10 +1,12 @@
 --- LVM2.2.02.28/tools/Makefile.in~	2007-08-20 23:55:30.000000000 +0300
 +++ LVM2.2.02.28/tools/Makefile.in	2007-10-31 19:45:05.169858091 +0200
-@@ -96,6 +96,7 @@
+@@ -92,6 +92,9 @@
  endif
  
  LVMLIBS += -ldevmapper
-+LVMLIBS += -lselinux -lsepol
++ifneq ("@STATIC_LINK@", "yes")
++  LVMLIBS += -lselinux -lsepol
++endif
  
  DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\"
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/lvm2-selinux.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list