util-src/Makefile: Don't make exceptions for how to build .so for util.hashes and util.encodings

This commit is contained in:
Kim Alvefur 2015-09-27 00:10:18 +02:00
parent ffa983b265
commit 265af7c012

View file

@ -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)