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