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 | 93b0dcf56a5b0460abeb1f5d542e5a77178f779d (patch) | |
tree | 085dcfa23c53f3e2303430d9940ba85fe140cc55 /util-src/Makefile | |
parent | d1d5bb6d1c37e09ed16ed65556fc1d072f26cf9c (diff) | |
download | prosody-93b0dcf56a5b0460abeb1f5d542e5a77178f779d.tar.gz prosody-93b0dcf56a5b0460abeb1f5d542e5a77178f779d.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 $@ $< |