Software /
code /
prosody
Diff
util-src/makefile @ 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 | 9661:8154a8841bb2 |
child | 11166:51e5149ed0ad |
line wrap: on
line diff
--- a/util-src/makefile Fri Jul 10 13:01:17 2020 +0100 +++ b/util-src/makefile Sun Jul 12 23:28:04 2020 +0200 @@ -23,6 +23,8 @@ clean: rm -f $(ALL) $(patsubst %.so,%.o,$(ALL)) +encodings.o: encodings.c + $(CC) $(CFLAGS) $(IDNA_FLAGS) -c -o $@ $< encodings.so: encodings.o $(LD) $(LDFLAGS) -o $@ $< $(LDLIBS) $(IDNA_LIBS)