# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../device-mapper/no_dynamic.diff # Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- ./lib/Makefile.in.orig 2006-06-21 17:07:03.000000000 +0200 +++ ./lib/Makefile.in 2006-06-21 17:09:15.000000000 +0200 @@ -46,7 +46,7 @@ install_fs install_ioctl install_ioctl_static \ install_pkgconfig -INSTALL_TYPE = install_dynamic +INSTALL_TYPE = ifeq ("@STATIC_LINK@", "yes") INSTALL_TYPE += install_static --- ./make.tmpl.in.orig 2006-07-07 16:36:47.000000000 +0000 +++ ./make.tmpl.in 2006-07-07 16:37:19.000000000 +0000 @@ -123,7 +123,7 @@ .PHONY: $(SUBDIRS) $(SUBDIRS.install) $(SUBDIRS.clean) $(SUBDIRS.distclean) .PHONY: $(SUBDIRS.pofile) -TARGETS += $(LIB_SHARED) $(LIB_STATIC) +TARGETS += $(LIB_STATIC) all: $(SUBDIRS) $(TARGETS) --- ./dmsetup/Makefile.in.orig 2006-07-07 18:15:15.000000000 +0000 +++ ./dmsetup/Makefile.in 2006-07-07 18:15:36.000000000 +0000 @@ -16,8 +16,8 @@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -TARGETS = dmsetup -INSTALL_TYPE = install_dynamic +TARGETS = +INSTALL_TYPE = ifeq ("@STATIC_LINK@", "yes") TARGETS += dmsetup.static @@ -45,5 +45,5 @@ $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$< install_static: dmsetup.static - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$< + $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/dmsetup