aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
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 $@ $<