aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/makefile
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
commit9eb8214030a32056841d8cc537430e7dccab1c33 (patch)
tree59d3656e3f3cafc4a50f9f148e4a46deab1188d2 /util-src/makefile
parenta2ef355d2011ca458ffb941e25a032b78194fc56 (diff)
downloadprosody-9eb8214030a32056841d8cc537430e7dccab1c33.tar.gz
prosody-9eb8214030a32056841d8cc537430e7dccab1c33.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/makefile')
-rw-r--r--util-src/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/makefile b/util-src/makefile
index 700633b4..2db415df 100644
--- a/util-src/makefile
+++ b/util-src/makefile
@@ -23,6 +23,8 @@ install: $(ALL)
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)