aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-05-11 23:53:40 +0000
committerNIIBE Yutaka <[email protected]>2023-05-11 23:53:40 +0000
commitdfdd07c3c488735d87c13f89270eeb4fa5714ef8 (patch)
tree0171a711825432e953d4dff175c5fb5986476499
parentUpdate autogen.sh to better support gpg4win (diff)
downloadlibgpg-error-dfdd07c3c488735d87c13f89270eeb4fa5714ef8.tar.gz
libgpg-error-dfdd07c3c488735d87c13f89270eeb4fa5714ef8.zip
tests: Use -no-fast-install LDFLAGS for Windows.
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize. -- Signed-off-by: NIIBE Yutaka <[email protected]>
-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)