Rearrange link line so the libraries come after the source.
authorPauli <paul.dale@oracle.com>
Fri, 7 Jul 2017 01:44:52 +0000 (11:44 +1000)
committerPauli <paul.dale@oracle.com>
Fri, 7 Jul 2017 01:44:52 +0000 (11:44 +1000)
Some linkers like it this way.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3879)

demos/bio/Makefile
demos/evp/Makefile

index 493e8a58a52d84dae6db1322197f730686c23c36..5a4e4a4ae2c14a843aa9d381b7a8b0e386c2546e 100644 (file)
@@ -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)
index 72c6e81d7a9f26d5626bda4b495bf9f66ba40ac6..3a85b223a85da12609add332c33bb9e1f26af2cf 100644 (file)
@@ -17,4 +17,4 @@ aesccm: aesccm.o
 aesgcm: aesgcm.o
 
 aesccm aesgcm:
-       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+       $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)