summaryrefslogtreecommitdiff
path: root/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch')
-rw-r--r--packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch b/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch
new file mode 100644
index 0000000000..7f54f80072
--- /dev/null
+++ b/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch
@@ -0,0 +1,13 @@
+Index: LVM2.2.01.15/make.tmpl.in
+===================================================================
+--- LVM2.2.01.15.orig/make.tmpl.in 2008-03-26 11:24:50.000000000 +0000
++++ LVM2.2.01.15/make.tmpl.in 2008-03-26 11:25:02.000000000 +0000
+@@ -72,7 +72,7 @@
+ CFLAGS += -DINTL_PACKAGE=\"@INTL_PACKAGE@\" -DLOCALEDIR=\"@LOCALEDIR@\"
+ endif
+
+-LDFLAGS += -L$(top_srcdir)/lib -L$(libdir)
++LDFLAGS += -L$(top_srcdir)/lib
+
+ #CFLAGS += -DDEBUG_POOL
+ #CFLAGS += -DBOUNDS_CHECK