aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/GNUmakefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-07-12 23:28:04 +0200
committerKim Alvefur <zash@zash.se>2020-07-12 23:28:04 +0200
commit57c5c4ddbef78aab3aa06a308eb4f629aecdb974 (patch)
tree59d3656e3f3cafc4a50f9f148e4a46deab1188d2 /util-src/GNUmakefile
parent68b6e79bd6f717b38bcdf799f2b98686e2f621ec (diff)
downloadprosody-57c5c4ddbef78aab3aa06a308eb4f629aecdb974.tar.gz
prosody-57c5c4ddbef78aab3aa06a308eb4f629aecdb974.zip
configure: Pass compiler flag to enable ICU only when building util.encodings
Passing it in CFLAGS applied to all modules, which was not needed.
Diffstat (limited to 'util-src/GNUmakefile')
-rw-r--r--util-src/GNUmakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-src/GNUmakefile b/util-src/GNUmakefile
index 054c9201..e9e06355 100644
--- a/util-src/GNUmakefile
+++ b/util-src/GNUmakefile
@@ -24,6 +24,7 @@ install: $(ALL)
clean:
rm -f $(ALL) $(patsubst %.so,%.o,$(ALL))
+encodings.o: CFLAGS+=$(IDNA_FLAGS)
encodings.so: LDLIBS+=$(IDNA_LIBS)
hashes.so: LDLIBS+=$(OPENSSL_LIBS)