[PATCH 4/4] Add CONFIGURE_LDFLAGS to the notmuch-shared buld command line.

Subject: [PATCH 4/4] Add CONFIGURE_LDFLAGS to the notmuch-shared buld command line.

Date: Sun, 11 Apr 2010 19:44:54 -0400

To: notmuch@notmuchmail.org

Cc:

From: Aaron Ecay


Otherwise, symbol not found errors result on OS X.  I am not sure
this is the correct solution for the problem, but it gets the build
working.

Signed-off-by: Aaron Ecay <aaronecay@gmail.com>
---
 Makefile.local |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.local b/Makefile.local
index 99d5b64..8d5fda4 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -36,7 +36,7 @@ Makefile.config: configure
 # Smash together user's values with our extra values
 FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags)
 FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(CONFIGURE_CXXFLAGS) $(extra_cflags) $(extra_cxxflags)
-FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Llib -lnotmuch
+FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Llib -lnotmuch $(CONFIGURE_LDFLAGS)
 FINAL_LIBNOTMUCH_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS)
 
 .PHONY: all
-- 
1.7.0.4


Thread: