From 1935b47f7c6dfadfb9146b220a62c037b0f4f75c Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 10 Mar 2020 22:40:27 +0000 Subject: [PATCH] Testsuite: fix build on non-gnumake platforms Broken-by: effbc122d --- test/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.in b/test/Makefile.in index 6a9603cf3..9984ee43f 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -59,7 +59,7 @@ bin/client-ssl: $(SRC)/client.c Makefile $(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -o bin/client-ssl $(SRC)/client.c -lssl -lcrypto $(LIBS) $(CLIENT_ANYTLS): $(CLIENT_GNUTLS) $(CLIENT_OPENSSL) - ln -sf `basename $<` $@ + [ -n "$(CLIENT_GNUTLS)" ] && ln -sf $(CLIENT_GNUTLS) $@ || ln -sf $(CLIENT_OPENSSL) $@ bin/checkaccess:$(SRC)/checkaccess.c Makefile $(CC) $(CFLAGS) -DNO_TLS $(LDFLAGS) -o bin/checkaccess $(SRC)/checkaccess.c -- 2.25.1