summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2023-05-12 08:53:40 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2023-05-12 08:53:40 +0900
commitdfdd07c3c488735d87c13f89270eeb4fa5714ef8 (patch)
tree0171a711825432e953d4dff175c5fb5986476499
parent770a01e6dc526444469eb1d6d5811b26ed3bb8af (diff)
downloadlibgpg-error-dfdd07c3c488735d87c13f89270eeb4fa5714ef8.tar.gz
tests: Use -no-fast-install LDFLAGS for Windows.
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--tests/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 61453ea..d421b3b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,7 +32,11 @@ endif
AM_CPPFLAGS = -I$(top_builddir)/src
+if HAVE_W32_SYSTEM
+AM_LDFLAGS = -no-fast-install
+else
AM_LDFLAGS = -no-install
+endif
LDADD = $(gpg_error_lib) @LDADD_FOR_TESTS_KLUDGE@
noinst_PROGRAMS = $(TESTS)