# HG changeset patch # User Kim Alvefur # Date 1443305418 -7200 # Node ID 5886efd95c11abe163203d0968bac3c8d43988d4 # Parent 8678def0e53b3534a00bef1e06c6d142dbf9689e util-src/Makefile: Don't make exceptions for how to build .so for util.hashes and util.encodings diff -r 8678def0e53b -r 5886efd95c11 util-src/Makefile --- 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)