build: Add -no-install for LDFLAGS of test programs.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 18 Jul 2019 06:10:26 +0000 (15:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 18 Jul 2019 06:10:26 +0000 (15:10 +0900)
* tests/Makefile.am (AM_LD_FLAGS): Add -no-install.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
tests/Makefile.am

index 8dc681d..4329a00 100644 (file)
@@ -22,15 +22,15 @@ TESTS = t-mutex t-thread
 
 if HAVE_W32_SYSTEM
 AM_CPPFLAGS = -I$(top_srcdir)/w32
-AM_LDFLAGS =
 LDADD = ../w32/libnpth.la $(LIB_CLOCK_GETTIME)
 else
 AM_CPPFLAGS = -I../src
-AM_LDFLAGS =
 LDADD = ../src/libnpth.la $(LIBSOCKET) $(LIB_CLOCK_GETTIME)
 TESTS += t-fork
 endif
 
+AM_LDFLAGS = -no-install
+
 noinst_HEADERS = t-support.h
 
 noinst_PROGRAMS = $(TESTS)