summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2023-05-10 17:20:46 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2023-05-10 17:20:46 +0900
commit33f9f0dec26df64e8184395eb6554ee379a87e3d (patch)
treee122d6437a76844e36adb159eca4956df7cb14c8
parent501dee123efe3d7d9488bb806ac9af5f56053f06 (diff)
downloadlibgcrypt-33f9f0dec26df64e8184395eb6554ee379a87e3d.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 348f8373..9920bae8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -61,7 +61,11 @@ TESTS_ENVIRONMENT = GCRYPT_IN_REGRESSION_TEST=1
# a built header.
AM_CPPFLAGS = -I../src -I$(top_srcdir)/src
AM_CFLAGS = $(GPG_ERROR_CFLAGS)
+if HAVE_W32_SYSTEM
+AM_LDFLAGS = -no-fast-install
+else
AM_LDFLAGS = -no-install
+endif
standard_ldadd = \
../src/libgcrypt.la \