diff options
author | Kim Alvefur <zash@zash.se> | 2020-07-12 23:28:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-07-12 23:28:04 +0200 |
commit | 57c5c4ddbef78aab3aa06a308eb4f629aecdb974 (patch) | |
tree | 59d3656e3f3cafc4a50f9f148e4a46deab1188d2 /configure | |
parent | 68b6e79bd6f717b38bcdf799f2b98686e2f621ec (diff) | |
download | prosody-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 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -524,7 +524,7 @@ fi if [ "$IDN_LIBRARY" = "icu" ] then IDNA_LIBS="$ICU_FLAGS" - CFLAGS="$CFLAGS -DUSE_STRINGPREP_ICU" + IDNA_FLAGS="-DUSE_STRINGPREP_ICU" fi if [ "$IDN_LIBRARY" = "idn" ] then @@ -569,6 +569,7 @@ LUA_INCDIR=$LUA_INCDIR LUA_LIBDIR=$LUA_LIBDIR LUA_BINDIR=$LUA_BINDIR IDN_LIB=$IDN_LIB +IDNA_FLAGS=$IDNA_FLAGS IDNA_LIBS=$IDNA_LIBS OPENSSL_LIBS=$OPENSSL_LIBS CFLAGS=$CFLAGS |