aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-27 00:10:18 +0200
committerKim Alvefur <zash@zash.se>2015-09-27 00:10:18 +0200
commitb07b24137f430d25b4819baaec02d757897b42ec (patch)
tree91ed2b6ddf11e163921541d4f39e2512009f3386 /util-src
parent409f3ed35702c593b451357d27c626e4a891de35 (diff)
downloadprosody-b07b24137f430d25b4819baaec02d757897b42ec.tar.gz
prosody-b07b24137f430d25b4819baaec02d757897b42ec.zip
util-src/Makefile: Don't make exceptions for how to build .so for util.hashes and util.encodings
Diffstat (limited to 'util-src')
-rw-r--r--util-src/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index c71e06b4..f35c20bc 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -27,11 +27,9 @@ install: $(ALL)
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)