summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-libdm_Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/lvm/patches/patch-libdm_Makefile_in')
-rw-r--r--package/lvm/patches/patch-libdm_Makefile_in24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/lvm/patches/patch-libdm_Makefile_in b/package/lvm/patches/patch-libdm_Makefile_in
new file mode 100644
index 000000000..2f1ade6c4
--- /dev/null
+++ b/package/lvm/patches/patch-libdm_Makefile_in
@@ -0,0 +1,24 @@
+--- LVM2.2.02.106.orig/libdm/Makefile.in 2014-04-10 17:38:45.000000000 +0200
++++ LVM2.2.02.106/libdm/Makefile.in 2014-05-24 12:42:42.819190264 +0200
+@@ -39,10 +39,7 @@ INCLUDES += @VALGRIND_CFLAGS@
+ endif
+ CFLAGS += $(UDEV_CFLAGS)
+
+-ifeq ("@STATIC_LINK@", "yes")
+ LIB_STATIC = $(interface)/libdevmapper.a
+-endif
+-
+ LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX)
+ LIB_VERSION = $(LIB_VERSION_DM)
+ TARGETS += libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION)
+@@ -71,9 +68,7 @@ libdevmapper.$(LIB_SUFFIX) libdevmapper.
+
+ INSTALL_TYPE = install_dynamic
+
+-ifeq ("@STATIC_LINK@", "yes")
+- INSTALL_TYPE += install_static
+-endif
++INSTALL_TYPE += install_static
+
+ ifeq ("@PKGCONFIG@", "yes")
+ INSTALL_TYPE += install_pkgconfig