[PATCH 7/8] test: Don't attempt to build symbol-test on Cygwin

Subject:[PATCH 7/8] test: Don't attempt to build symbol-test on Cygwin

Date:Tue, 22 Aug 2017 22:43:38 +0000

To:notmuch@notmuchmail.org

Cc:Vladimir Panteleev

From:Vladimir Panteleev


From: Vladimir Panteleev <vladimir@thecybershadow.net>

The test fails to build on Cygwin; since Windows PE exports are
already namespaced (by module name), the test is likely unnecessary on
Windows anyway.
---
 test/Makefile.local | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/Makefile.local b/test/Makefile.local
index 0df72c92..05fcdd6f 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -48,10 +48,13 @@ test_main_srcs=$(dir)/arg-test.c \
 	      $(dir)/random-corpus.c \
 	      $(dir)/parse-time.c \
 	      $(dir)/smtp-dummy.c \
-	      $(dir)/symbol-test.cc \
 	      $(dir)/make-db-version.cc \
 	      $(dir)/ghost-report.cc
 
+ifneq ($(PLATFORM),CYGWIN)
+test_main_srcs+=$(dir)/symbol-test.cc
+endif
+
 test_srcs=$(test_main_srcs) $(dir)/database-test.c
 
 TEST_BINARIES := $(test_main_srcs:.c=)
-- 
2.13.3

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: