Software /
code /
prosody
Diff
configure @ 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 | 10010:34bfefb39937 |
child | 11528:d3b0049e50f5 |
line wrap: on
line diff
--- a/configure Fri Jul 10 13:01:17 2020 +0100 +++ b/configure Sun Jul 12 23:28:04 2020 +0200 @@ -524,7 +524,7 @@ 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_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