From: David Bremner <bremner@debian.org>
Date: Sat, 28 May 2011 11:48:34 +0000 (-0300)
Subject: debian: Override RPATH_LDFLAGS
X-Git-Tag: debian/0.6_254~13
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=fc126d89b2baa479d98c864fbef4174b6da707c0;p=notmuch

debian: Override RPATH_LDFLAGS

Probably there is a nicer way to do this; perhaps it should be a
configure option.
(cherry picked from commit 387dc520dd68cc805e390f3a1399f85b5d5bd83a)
---

diff --git a/debian/rules b/debian/rules
index 985fbc5f..f7be2ca9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,9 @@ override_dh_installdocs:
 	dh_installdocs
 	install -m644 vim/README debian/notmuch/usr/share/doc/notmuch/README.vim
 
+override_dh_auto_build:
+	make RPATH_LDFLAGS=""
+
 override_dh_install:
 	dh_install
 	install -m644 vim/plugin/notmuch.vim debian/notmuch/usr/share/vim/addons/plugin