diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-27 00:08:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-27 00:08:46 +0200 |
commit | 409f3ed35702c593b451357d27c626e4a891de35 (patch) | |
tree | 10eebc2a477491d7f7577439a0cf7b16085da7e7 | |
parent | b8d80dfd493c62d7e7ab1ce2f05016e142d263f6 (diff) | |
download | prosody-409f3ed35702c593b451357d27c626e4a891de35.tar.gz prosody-409f3ed35702c593b451357d27c626e4a891de35.zip |
util-src/Makefile: Tell Make how to build .so from .o in a modern way (Let built-in rules handle .o)
-rw-r--r-- | util-src/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index 91c60d7f..c71e06b4 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -33,9 +33,5 @@ encodings.so: encodings.o hashes.so: hashes.o $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) -.c.o: - $(CC) $(CFLAGS) -c -o $@ $< - -.o.so: - $(LD) -o $@ $< $(LDFLAGS) - +%.so: %.o + $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) |