diff options
author | Pauli <paul.dale@oracle.com> | 2017-07-07 11:44:52 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-07-07 11:44:52 +1000 |
commit | ab3e8f63154c7daea9e67846aa83b6e1de7f8969 (patch) | |
tree | 79c8af8d33c1577276a2e55ac7c117d3412d8f69 | |
parent | 1ef454181394b474ed590c551f659b4ce11aa093 (diff) |
Rearrange link line so the libraries come after the source.
Some linkers like it this way.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3879)
-rw-r--r-- | demos/bio/Makefile | 2 | ||||
-rw-r--r-- | demos/evp/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
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) |