You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

85 lines
2.7 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../lvm2/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 ---
--- ./make.tmpl.in.orig 2006-07-07 19:57:41.000000000 +0000
+++ ./make.tmpl.in 2006-07-07 19:58:24.000000000 +0000
@@ -110,7 +110,7 @@
SUBDIRS.clean := $(SUBDIRS:=.clean)
SUBDIRS.distclean := $(SUBDIRS:=.distclean)
-TARGETS += $(LIB_SHARED) $(LIB_STATIC)
+TARGETS += $(LIB_STATIC)
all: $(SUBDIRS) $(TARGETS)
--- ./tools/Makefile.in.orig 2007-03-30 17:00:26.000000000 -0400
+++ ./tools/Makefile.in 2007-05-17 19:56:45.000000000 -0400
@@ -67,11 +67,10 @@
vgsplit.c
TARGETS =\
- .commands \
- lvm
+ .commands
-INSTALL_TARGETS = install_tools_dynamic
-INSTALL_CMDLIB_TARGETS = install_cmdlib_dynamic
+INSTALL_TARGETS =
+INSTALL_CMDLIB_TARGETS =
ifeq ("@STATIC_LINK@", "yes")
TARGETS += lvm.static
@@ -87,7 +86,7 @@
lvmcmdlib.o lvm-static.o
ifeq ("@CMDLIB@", "yes")
- TARGETS += liblvm2cmd.so
+ TARGETS += liblvm2cmd.a
INSTALL_TARGETS += $(INSTALL_CMDLIB_TARGETS)
endif
--- ./tools/Makefile.in.orig 2007-07-18 20:11:11.000000000 -0400
+++ ./tools/Makefile.in 2007-07-18 20:12:41.000000000 -0400
@@ -105,7 +105,7 @@
lvm.static: $(OBJECTS) lvm-static.o $(top_srcdir)/lib/liblvm.a
$(CC) -o $@ $(CFLAGS) $(OBJECTS) lvm-static.o -static \
- $(LDFLAGS) $(LVMLIBS) $(LIBS) -rdynamic
+ $(LDFLAGS) $(LVMLIBS) $(LIBS)
liblvm2cmd.a: $(top_srcdir)/lib/liblvm.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
cat $(top_srcdir)/lib/liblvm.a > $@
--- ./configure.orig 2007-07-18 20:19:25.000000000 -0400
+++ ./configure 2007-07-18 20:19:44.000000000 -0400
@@ -1948,7 +1948,6 @@
CLDWHOLEARCHIVE="-Wl,-whole-archive"
CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
LDDEPS="$LDDEPS .export.sym"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
LIB_SUFFIX="so"
DEVMAPPER=yes
ODIRECT=yes
--- ./configure.in.orig 2007-07-18 20:22:31.000000000 -0400
+++ ./configure.in 2007-07-18 20:22:42.000000000 -0400
@@ -37,7 +37,6 @@
CLDWHOLEARCHIVE="-Wl,-whole-archive"
CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
LDDEPS="$LDDEPS .export.sym"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
LIB_SUFFIX="so"
DEVMAPPER=yes
ODIRECT=yes