|
--- a/src/Mayaqua/Mayaqua.h
|
|
+++ b/src/Mayaqua/Mayaqua.h
|
|
@@ -284,7 +284,7 @@ int PASCAL WinMain(HINSTANCE hInst, HINS
|
|
#include <ifaddrs.h>
|
|
#endif // MAYAQUA_SUPPORTS_GETIFADDRS
|
|
|
|
-#ifdef UNIX_LINUX
|
|
+#if 0
|
|
typedef void *iconv_t;
|
|
iconv_t iconv_open (__const char *__tocode, __const char *__fromcode);
|
|
size_t iconv (iconv_t __cd, char **__restrict __inbuf,
|
|
--- a/src/makefiles/linux_32bit.mak
|
|
+++ b/src/makefiles/linux_32bit.mak
|
|
@@ -68,7 +68,7 @@ OPTIONS_LINK_DEBUG=-g -fsigned-char -lm
|
|
|
|
OPTIONS_COMPILE_RELEASE=-DNDEBUG -DVPN_SPEED -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -I./src/ -I./src/Cedar/ -I./src/Mayaqua/ -O2 -fsigned-char
|
|
|
|
-OPTIONS_LINK_RELEASE=-O2 -fsigned-char -lm -ldl -lrt -lpthread -lssl -lcrypto -lreadline -lncurses -lz
|
|
+OPTIONS_LINK_RELEASE=-O2 -fsigned-char -lm -ldl -lrt -liconv -lpthread -lssl -lcrypto -lreadline -lncurses -lz
|
|
|
|
INSTALL_BINDIR=/usr/bin/
|
|
INSTALL_VPNSERVER_DIR=/usr/vpnserver/
|
|
--- a/src/makefiles/linux_64bit.mak
|
|
+++ b/src/makefiles/linux_64bit.mak
|
|
@@ -68,7 +68,7 @@ OPTIONS_LINK_DEBUG=-g -fsigned-char -m64
|
|
|
|
OPTIONS_COMPILE_RELEASE=-DNDEBUG -DVPN_SPEED -DUNIX -DUNIX_LINUX -DCPU_64 -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -I./src/ -I./src/Cedar/ -I./src/Mayaqua/ -O2 -fsigned-char
|
|
|
|
-OPTIONS_LINK_RELEASE=-O2 -fsigned-char -lm -ldl -lrt -lpthread -lssl -lcrypto -lreadline -lncurses -lz
|
|
+OPTIONS_LINK_RELEASE=-O2 -fsigned-char -lm -ldl -lrt -liconv -lpthread -lssl -lcrypto -lreadline -lncurses -lz
|
|
|
|
INSTALL_BINDIR=/usr/bin/
|
|
INSTALL_VPNSERVER_DIR=/usr/vpnserver/
|