From: Jeremy Harris Date: Tue, 10 Mar 2020 22:40:27 +0000 (+0000) Subject: Testsuite: fix build on non-gnumake platforms X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/1935b47f7c6dfadfb9146b220a62c037b0f4f75c?ds=sidebyside Testsuite: fix build on non-gnumake platforms Broken-by: effbc122d --- 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