From: Pauli Date: Fri, 7 Jul 2017 01:44:52 +0000 (+1000) Subject: Rearrange link line so the libraries come after the source. X-Git-Tag: OpenSSL_1_1_1-pre1~1095 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab3e8f63154c7daea9e67846aa83b6e1de7f8969;p=openssl Rearrange link line so the libraries come after the source. Some linkers like it this way. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3879) --- diff --git a/demos/bio/Makefile b/demos/bio/Makefile index 493e8a58a5..5a4e4a4ae2 100644 --- a/demos/bio/Makefile +++ b/demos/bio/Makefile @@ -27,4 +27,4 @@ server-cmod: server-cmod.o server-conf: server-conf.o client-arg client-conf saccept sconnect server-arg server-cmod server-conf: - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) diff --git a/demos/evp/Makefile b/demos/evp/Makefile index 72c6e81d7a..3a85b223a8 100644 --- a/demos/evp/Makefile +++ b/demos/evp/Makefile @@ -17,4 +17,4 @@ aesccm: aesccm.o aesgcm: aesgcm.o aesccm aesgcm: - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)