diff options
author | Tobias Markmann <tm@ayena.de> | 2010-12-14 15:03:37 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2010-12-14 15:03:37 +0100 |
commit | 211cf6c775c47247b537597e35f6cf2b3daf99ac (patch) | |
tree | a817f45f26a169b14e28cd8d25d782385b6dece6 /util-src/Makefile | |
parent | 7a839059bbbc4c97b676f9d00e1df5807f29dcd3 (diff) | |
download | prosody-211cf6c775c47247b537597e35f6cf2b3daf99ac.tar.gz prosody-211cf6c775c47247b537597e35f6cf2b3daf99ac.zip |
util.encodings: Support for ICU for IDNA operations.
Diffstat (limited to 'util-src/Makefile')
-rw-r--r-- | util-src/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index d28ffe81..008a1934 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -7,10 +7,18 @@ LUA_LIB?=lua$(LUA_SUFFIX) IDN_LIB?=idn OPENSSL_LIB?=crypto CC?=gcc +CXX?=g++ LD?=gcc .SUFFIXES: .c .o .so +encodings.o: + $(CXX) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.cpp + +encodings.so: encodings.o + MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; + $(CXX) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto + .c.o: $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< |