Diff

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
line wrap: on
line diff
--- a/util-src/GNUmakefile	Fri Jul 10 13:01:17 2020 +0100
+++ b/util-src/GNUmakefile	Sun Jul 12 23:28:04 2020 +0200
@@ -24,6 +24,7 @@
 clean:
 	rm -f $(ALL) $(patsubst %.so,%.o,$(ALL))
 
+encodings.o: CFLAGS+=$(IDNA_FLAGS)
 encodings.so: LDLIBS+=$(IDNA_LIBS)
 
 hashes.so: LDLIBS+=$(OPENSSL_LIBS)