Gitweb:
https://git.exim.org/exim.git/commitdiff/1935b47f7c6dfadfb9146b220a62c037b0f4f75c
Commit: 1935b47f7c6dfadfb9146b220a62c037b0f4f75c
Parent: 4ca005cdf526b0c6803c29a154bd85dc112bc6a3
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Mar 10 22:40:27 2020 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Tue Mar 10 22:40:27 2020 +0000
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 6a9603c..9984ee4 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