From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id AC2D26DE1300 for ; Tue, 22 Aug 2017 15:44:15 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.067 X-Spam-Level: X-Spam-Status: No, score=-0.067 tagged_above=-999 required=5 tests=[AWL=-0.106, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kkE50mX59QV1 for ; Tue, 22 Aug 2017 15:44:15 -0700 (PDT) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by arlo.cworth.org (Postfix) with ESMTPS id 3B16C6DE11D4 for ; Tue, 22 Aug 2017 15:44:14 -0700 (PDT) Received: by mail-wr0-f194.google.com with SMTP id p8so59895wrf.2 for ; Tue, 22 Aug 2017 15:44:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wv4DPHNX6ymDMZJMo04o9cKLf3LVjEOyTvFaqGEv+M8=; b=K3MdR7uU07s+HFEs1gnURjs3WFne/p06RZUUVIrQXzhkiYqFW4Sb1xFUT27faHQyL7 Ew7xNXJquoYumT6uDHYAYxkSJAwSKjtOS9FBXTcWOH1jQ0KMchH95tf07HQnvyRjcLj3 JP+1+23ij1s4RrKb1SExOM8NxhXoExL9NjoXYo4UJhRaY7KnVwcRNZ/3AnFRnXtEUz3l nkXCu2SxCkHJZ8MeQPX/X5LarICM9OKyc77J11ketXr+Crc4lYUz6LRmbPhcARdVUa+d rTpQ8LjfqhrW4ZkLzy49YvNq8Gdfzxtg/B56dhCDYRjt/q8is03JmUJRLkn/CpCgnOw3 QJJg== X-Gm-Message-State: AHYfb5jd6J/r9eQ6/iMyi9XiOukSD4W53+qu4BwlW7zrixHym4OPc6Do mVetaF3Z6WvZ0idmVes= X-Received: by 10.223.165.6 with SMTP id i6mr330036wrb.299.1503441852611; Tue, 22 Aug 2017 15:44:12 -0700 (PDT) Received: from home.thecybershadow.net ([89.28.117.31]) by smtp.gmail.com with ESMTPSA id e137sm491385wma.29.2017.08.22.15.44.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Aug 2017 15:44:11 -0700 (PDT) From: Vladimir Panteleev To: notmuch@notmuchmail.org Subject: [PATCH 3/8] lib: Fix libnotmuch.so link under Cygwin Date: Tue, 22 Aug 2017 22:43:34 +0000 Message-Id: <20170822224339.22601-4-notmuch@thecybershadow.net> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170822224339.22601-1-notmuch@thecybershadow.net> References: <20170822224339.22601-1-notmuch@thecybershadow.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Tue, 22 Aug 2017 22:44:15 -0000 libnotmuch_util.a was specified before -lgmime-2.6 on the linker command line, even though it uses symbols from it. On Cygwin, this lead to a link error. * Makefile.local: Fix the order of the arguments so that dependencies always occur after their dependents. --- lib/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile.local b/lib/Makefile.local index fbcdbda8..ff1f6363 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -65,7 +65,7 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules) $(call quiet,AR) rcs $@ $^ $(dir)/$(LIBNAME): $(libnotmuch_modules) util/libnotmuch_util.a parse-time-string/libparse-time-string.a - $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(CONFIGURE_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ util/libnotmuch_util.a parse-time-string/libparse-time-string.a + $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) util/libnotmuch_util.a parse-time-string/libparse-time-string.a $(CONFIGURE_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ $(dir)/$(SONAME): $(dir)/$(LIBNAME) ln -sf $(LIBNAME) $@ -- 2.13.3