SOURCES: device-mapper-disable_dynamic_link.patch (NEW) - adds '--...

jajcus jajcus at pld-linux.org
Sun Jul 31 19:51:34 CEST 2005


Author: jajcus                       Date: Sun Jul 31 17:51:34 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adds '--disable-dynamic-link' option to device-mapper's configure script

---- Files affected:
SOURCES:
   device-mapper-disable_dynamic_link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/device-mapper-disable_dynamic_link.patch
diff -u /dev/null SOURCES/device-mapper-disable_dynamic_link.patch:1.1
--- /dev/null	Sun Jul 31 19:51:34 2005
+++ SOURCES/device-mapper-disable_dynamic_link.patch	Sun Jul 31 19:51:28 2005
@@ -0,0 +1,47 @@
+diff -durN -x '*~' device-mapper.1.01.03.orig/configure.in device-mapper.1.01.03/configure.in
+--- device-mapper.1.01.03.orig/configure.in	2005-06-13 16:07:29.000000000 +0200
++++ device-mapper.1.01.03/configure.in	2005-07-31 19:10:30.000000000 +0200
+@@ -178,6 +178,8 @@
+ dnl -- Enables staticly-linked tools
+ AC_ARG_ENABLE(static_link, [  --enable-static_link    Use this to link the tools to their libraries
+                           statically.  Default is dynamic linking],  STATIC_LINK=$enableval, STATIC_LINK=no)
++AC_ARG_ENABLE(dynamic_link, [  --disable-dynamic_link    Use this not to link the tools to their libraries
++                          statically.  Default is dynamic linking],  DYNAMIC_LINK=$enableval, DYNAMIC_LINK=yes)
+ 
+ ################################################################################
+ dnl -- Clear default exec_prefix - install into /sbin rather than /usr/sbin
+@@ -324,6 +326,7 @@
+ ################################################################################
+ AC_SUBST(JOBS)
+ AC_SUBST(STATIC_LINK)
++AC_SUBST(DYNAMIC_LINK)
+ AC_SUBST(OWNER)
+ AC_SUBST(GROUP)
+ AC_SUBST(LIBS)
+diff -durN -x '*~' device-mapper.1.01.03.orig/dmsetup/Makefile.in device-mapper.1.01.03/dmsetup/Makefile.in
+--- device-mapper.1.01.03.orig/dmsetup/Makefile.in	2005-01-27 17:16:52.000000000 +0100
++++ device-mapper.1.01.03/dmsetup/Makefile.in	2005-07-31 19:10:13.000000000 +0200
+@@ -16,8 +16,10 @@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+ 
++ifeq ("@DYNAMIC_LINK@", "yes")
+ TARGETS = dmsetup
+ INSTALL_TYPE = install_dynamic
++endif
+ 
+ ifeq ("@STATIC_LINK@", "yes")
+   TARGETS += dmsetup.static
+diff -durN -x '*~' device-mapper.1.01.03.orig/lib/Makefile.in device-mapper.1.01.03/lib/Makefile.in
+--- device-mapper.1.01.03.orig/lib/Makefile.in	2005-04-28 00:32:00.000000000 +0200
++++ device-mapper.1.01.03/lib/Makefile.in	2005-07-31 19:10:13.000000000 +0200
+@@ -45,7 +45,9 @@
+ .PHONY: install_dynamic install_static \
+ 	install_fs install_ioctl install_ioctl_static
+ 
++ifeq ("@DYNAMIC_LINK@", "yes")
+ INSTALL_TYPE = install_dynamic
++endif
+ 
+ ifeq ("@STATIC_LINK@", "yes")
+   INSTALL_TYPE += install_static
================================================================



More information about the pld-cvs-commit mailing list