Software /
code /
prosody
Changeset
6881:5886efd95c11
util-src/Makefile: Don't make exceptions for how to build .so for util.hashes and util.encodings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Sep 2015 00:10:18 +0200 |
parents | 6880:8678def0e53b |
children | 6882:e8d887ae659a |
files | util-src/Makefile |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/Makefile Sun Sep 27 00:08:46 2015 +0200 +++ b/util-src/Makefile Sun Sep 27 00:10:18 2015 +0200 @@ -27,11 +27,9 @@ clean: rm -f $(ALL) -encodings.so: encodings.o - $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) +encodings.so: LDLIBS+=$(IDNA_LIBS) -hashes.so: hashes.o - $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) +hashes.so: LDLIBS+=-l$(OPENSSL_LIB) %.so: %.o $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)