From b07b24137f430d25b4819baaec02d757897b42ec Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 27 Sep 2015 00:10:18 +0200 Subject: util-src/Makefile: Don't make exceptions for how to build .so for util.hashes and util.encodings --- util-src/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'util-src') 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) -- cgit v1.2.3