aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-06 18:20:20 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-06 18:30:43 -0700
commitae9d67fd810e021e1d27c24c487ffd6c34b8ecdc (patch)
treef89170ad46a0c11b1a28daff3a6e8a1e3d025efc /lib/Makefile.local
parent66f00ab35ad3ce064bb1173c45fa9220f7d6a852 (diff)
Avoid needlessly linking final notmuch binary against libXapian.
The libnotmuch.so library already does, so we don't need to do it again. (Thanks to a Debian debhelper warning for pointing this out.)
Diffstat (limited to 'lib/Makefile.local')
-rw-r--r--lib/Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index ed6b25f4..0e3a4d15 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -51,7 +51,7 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules)
$(call quiet,AR) rcs $@ $^
$(dir)/$(LIBNAME): $(libnotmuch_modules)
- $(call quiet,CXX $(CXXFLAGS)) $^ $(FINAL_LDFLAGS) -shared -Wl,-soname=$(SONAME) -o $@
+ $(call quiet,CXX $(CXXFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -shared -Wl,-soname=$(SONAME) -o $@
$(dir)/$(SONAME): $(dir)/$(LIBNAME)
ln -sf $(LIBNAME) $@