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
commit1f3e0e60e4320c4536c5c73af7daedfaaaf400bf (patch)
treedc9dffdd167afa2ae18c23ca29f054c3ef4fa431 /util-src/Makefile
parentb18b85670fe5f6c1b6a6c2eafd8c8723f891e91c (diff)
downloadprosody-1f3e0e60e4320c4536c5c73af7daedfaaaf400bf.tar.gz
prosody-1f3e0e60e4320c4536c5c73af7daedfaaaf400bf.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 $@ $<