This commit is contained in:
Matyas Markovics 2021-04-30 19:35:01 +02:00 committed by GitHub
commit 2b5d6a3253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,7 @@ COPY . 3proxy
RUN cd 3proxy &&\ RUN cd 3proxy &&\
echo "">> Makefile.Linux &&\ echo "">> Makefile.Linux &&\
echo PLUGINS = StringsPlugin TrafficPlugin PCREPlugin TransparentPlugin SSLPlugin>>Makefile.Linux &&\ echo PLUGINS = StringsPlugin TrafficPlugin PCREPlugin TransparentPlugin SSLPlugin>>Makefile.Linux &&\
echo LIBS = -l:libcrypto.a -l:libssl.a -ldl >>Makefile.Linux &&\ echo LIBS = -l:libssl.a -l:libcrypto.a -ldl >>Makefile.Linux &&\
make -f Makefile.Linux &&\ make -f Makefile.Linux &&\
strip bin/3proxy &&\ strip bin/3proxy &&\
strip bin/StringsPlugin.ld.so &&\ strip bin/StringsPlugin.ld.so &&\

View File

@ -116,6 +116,10 @@ void daemonize(void);
#ifdef _WIN32 #ifdef _WIN32
#define strcasecmp stricmp #define strcasecmp stricmp
#define strncasecmp strnicmp #define strncasecmp strnicmp
#else
#ifndef _set_errno
#define _set_errno(x) (errno = x)
#endif
#endif #endif
#ifndef SOCKET_ERROR #ifndef SOCKET_ERROR