From 32d9abf299ec5b217c5751d8dcf8cbb5989bdd9c Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 12 May 2023 08:55:34 +0900 Subject: tests: Use -no-fast-install LDFLAGS for Windows. * tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize. -- Signed-off-by: NIIBE Yutaka --- tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index b547d37..552d744 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -43,7 +43,11 @@ TESTS += fdpassing endif AM_CFLAGS = $(GPG_ERROR_CFLAGS) +if HAVE_W32_SYSTEM +AM_LDFLAGS = -no-fast-install +else AM_LDFLAGS = -no-install +endif noinst_HEADERS = common.h noinst_PROGRAMS = $(TESTS) $(w32cetools) $(testtools) -- cgit v1.2.3