summaryrefslogtreecommitdiff
path: root/debian/patches/0125-multiarch_dll_search_path.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-10 13:49:05 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-10 13:49:05 +0100
commitac1cb335bee11d7f030b75d8e1553d9eb07f01a0 (patch)
tree1246e3b2a44ec85dbdc61dad73cf7300584b4dd4 /debian/patches/0125-multiarch_dll_search_path.patch
parent737ff0b1d932e715eb2415090e6570df9447c8f1 (diff)
Migrate to debhelper 10
Diffstat (limited to 'debian/patches/0125-multiarch_dll_search_path.patch')
-rw-r--r--debian/patches/0125-multiarch_dll_search_path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/0125-multiarch_dll_search_path.patch b/debian/patches/0125-multiarch_dll_search_path.patch
index cc63bd6..21c93f6 100644
--- a/debian/patches/0125-multiarch_dll_search_path.patch
+++ b/debian/patches/0125-multiarch_dll_search_path.patch
@@ -44,3 +44,16 @@ Index: trunk/backend/Makefile.in
AM_LDFLAGS = @STRICT_LDFLAGS@
# The -rpath option is added because we are creating _LTLIBRARIES based
# on configure substitution. This causes automake to not know the
+Index: trunk/backend/Makefile.am
+===================================================================
+--- trunk.orig/backend/Makefile.am
++++ trunk/backend/Makefile.am
+@@ -24,7 +24,7 @@ USB_LIBS = @USB_LIBS@
+ SCSI_LIBS = @SCSI_LIBS@
+ PTHREAD_LIBS = @PTHREAD_LIBS@
+
+-AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -DLIBDIR="\"$(libdir)/sane\""
++AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -DLIBDIR="\"$(libdir)/sane\"" -DDEB_DLL_LIBDIR="\"$(libdir)/sane:$(prefix)/lib/sane\""
+
+ V_MAJOR = @V_MAJOR@
+ V_MINOR = @V_MINOR@