[exim-cvs] Testsuite: fix build on non-gnumake platforms

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Testsuite: fix build on non-gnumake platforms
Gitweb: https://git.exim.org/exim.git/commitdiff/19ae9a55a69e9ea19916eabe3879b786725de92a
Commit:     19ae9a55a69e9ea19916eabe3879b786725de92a
Parent:     1935b47f7c6dfadfb9146b220a62c037b0f4f75c
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Mar 10 22:53:31 2020 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Mar 10 22:53:31 2020 +0000


    Testsuite: fix build on non-gnumake platforms
---
 test/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/test/Makefile.in b/test/Makefile.in
index 9984ee4..abfdcb8 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)
-        [ -n "$(CLIENT_GNUTLS)" ] && ln -sf $(CLIENT_GNUTLS) $@ || ln -sf $(CLIENT_OPENSSL) $@
+        [ -n "$(CLIENT_GNUTLS)" ] && ln -sf `basename $(CLIENT_GNUTLS)` $@ || ln -sf `basename $(CLIENT_OPENSSL)` $@


 bin/checkaccess:$(SRC)/checkaccess.c Makefile
         $(CC) $(CFLAGS) -DNO_TLS $(LDFLAGS) -o bin/checkaccess $(SRC)/checkaccess.c