Comparison

util-src/GNUmakefile @ 11009:74ef9f2334f3

configure: Pass compiler flag to enable ICU only when building util.encodings Passing it in CFLAGS applied to all modules, which was not needed.
author Kim Alvefur <zash@zash.se>
date Sun, 12 Jul 2020 23:28:04 +0200
parent 9561:cfc7b2f7251e
child 11166:51e5149ed0ad
comparison
equal deleted inserted replaced
11008:fd735fe2fc50 11009:74ef9f2334f3
22 $(INSTALL_DATA) $? $(TARGET) 22 $(INSTALL_DATA) $? $(TARGET)
23 23
24 clean: 24 clean:
25 rm -f $(ALL) $(patsubst %.so,%.o,$(ALL)) 25 rm -f $(ALL) $(patsubst %.so,%.o,$(ALL))
26 26
27 encodings.o: CFLAGS+=$(IDNA_FLAGS)
27 encodings.so: LDLIBS+=$(IDNA_LIBS) 28 encodings.so: LDLIBS+=$(IDNA_LIBS)
28 29
29 hashes.so: LDLIBS+=$(OPENSSL_LIBS) 30 hashes.so: LDLIBS+=$(OPENSSL_LIBS)
30 31
31 crand.o: CFLAGS+=-DWITH_$(RANDOM) 32 crand.o: CFLAGS+=-DWITH_$(RANDOM)