[PATCH] Makefile.local: Fix LDFLAGS for notmuch-shared
authorAdrien Bustany <abustany@gnome.org>
Fri, 23 Apr 2010 03:04:30 +0000 (23:04 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:49 +0000 (09:36 -0800)
78/14360b92fb08a1e45e5642309094042be18dc8 [new file with mode: 0644]

diff --git a/78/14360b92fb08a1e45e5642309094042be18dc8 b/78/14360b92fb08a1e45e5642309094042be18dc8
new file mode 100644 (file)
index 0000000..6c9bb7f
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <abustany@mymadcat.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3494C4196F2\r
+       for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 20:09:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.094\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.094 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, RCVD_IN_NJABL_PROXY=2.224,\r
+       RCVD_IN_SORBS_WEB=0.77] autolearn=no\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id TMfwBGE1gjRH for <notmuch@notmuchmail.org>;\r
+       Thu, 22 Apr 2010 20:09:01 -0700 (PDT)\r
+Received: from mail.mymadcat.com (mymadcat.com [213.251.163.154])\r
+       by olra.theworths.org (Postfix) with ESMTP id 61A8B431FC1\r
+       for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 20:09:01 -0700 (PDT)\r
+Received: by mail.mymadcat.com (Postfix, from userid 504)\r
+       id 75CDC3DAE5; Fri, 23 Apr 2010 05:09:00 +0200 (CEST)\r
+Received: from localhost (113-87-246-201.adsl.terra.cl [201.246.87.113])\r
+       by mail.mymadcat.com (Postfix) with ESMTPSA id 131853DAC6\r
+       for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 05:08:58 +0200 (CEST)\r
+X-Mailbox-Line: From 5b463c90b8aa336777ff1d68b055c7519e2c9a23 Mon Sep 17\r
+       00:00:00 2001\r
+From: Adrien Bustany <abustany@gnome.org>\r
+Date: Thu, 22 Apr 2010 23:04:30 -0400\r
+Subject: [PATCH] Makefile.local: Fix LDFLAGS for notmuch-shared\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Message-Id: <20100423030900.75CDC3DAE5@mail.mymadcat.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 23 Apr 2010 03:09:02 -0000\r
+\r
+This commit adds GMIME_LDFLAGS and TALLOC_LDFLAGS to the linker flags\r
+when linking notmuch-shared. Without these flags, linking fails because\r
+of undefined symbols.\r
+---\r
+ Makefile.local |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/Makefile.local b/Makefile.local\r
+index 5bb570b..37dd745 100644\r
+--- a/Makefile.local\r
++++ b/Makefile.local\r
+@@ -31,7 +31,7 @@ GPG_FILE=$(SHA1_FILE).asc\r
+ # Smash together user's values with our extra values\r
+ FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags)\r
+ FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(CONFIGURE_CXXFLAGS) $(extra_cflags) $(extra_cxxflags)\r
+-FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Llib -lnotmuch\r
++FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) $(GMIME_LDFLAGS) $(TALLOC_LDFLAGS) -Llib -lnotmuch\r
+ FINAL_NOTMUCH_LINKER = CC\r
+ ifneq ($(LINKER_RESOLVES_LIBRARY_DEPENDENCIES),1)\r
+ FINAL_NOTMUCH_LDFLAGS += $(CONFIGURE_LDFLAGS)\r
+-- \r
+1.7.0.1\r
+\r