summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-libdm_Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-24 13:06:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-24 13:07:48 +0200
commit578f218b3e26821afc408681613c0320f9dfe2bc (patch)
treef6b8d773cee0025279168b33ccf36f57eaa9b1f8 /package/lvm/patches/patch-libdm_Makefile_in
parent0151f5cf9e52868c1e0e20d8a048c028af9e7166 (diff)
fix lvm package compile
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