aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-17 22:32:21 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-17 22:32:21 +0000
commit54c91de993302778d253a9d760a340a744f01060 (patch)
tree3978550bfd103fb773ca8b67506fb299cdcf5fdd /util-src/Makefile
parent3ad9aafc341bd8b9db5d4c4bb282a7fbfe14d19f (diff)
downloadprosody-54c91de993302778d253a9d760a340a744f01060.tar.gz
prosody-54c91de993302778d253a9d760a340a744f01060.zip
util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename encodings.cpp back to .c and amend the Makefile accordingly
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 008a1934..c3669c35 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -13,11 +13,11 @@ LD?=gcc
.SUFFIXES: .c .o .so
encodings.o:
- $(CXX) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.cpp
+ $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c
encodings.so: encodings.o
MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
- $(CXX) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto
+ $(CC) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto
.c.o:
$(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<