Compare commits

..

No commits in common. "a5c81e4a290e7fbd0acc1535d34c177453929837" and "6bbf528a2065f3a92eab39906ed91a59481c5007" have entirely different histories.

3 changed files with 18 additions and 20 deletions

View File

@ -59,20 +59,15 @@ jobs:
- name: make clean Windows - name: make clean Windows
if: ${{ startsWith(matrix.target, 'windows') }} if: ${{ startsWith(matrix.target, 'windows') }}
run: make -f Makefile.win clean run: make -f Makefile.win clean
- name: Add msbuild to PATH # - name: make Windows MSVC
if: ${{ startsWith(matrix.target, 'windows') }} # if: ${{ startsWith(matrix.target, 'windows') }}
uses: microsoft/setup-msbuild@v3 # shell: cmd
- name: make Windows MSVC # run: |
if: ${{ startsWith(matrix.target, 'windows') }} # call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
shell: cmd # nmake /F Makefile.msvc64'
run: | # env:
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" # LIBS: '-L "c:/program files/openssl/lib/VC/x64/MT"'
D: # CFLAGS: '-I "c:/program files/openssl/include"'
cd "D:/a/3proxy/3proxy" # - name: make clean Windows
mkdir bin64 # if: ${{ startsWith(matrix.target, 'windows') }}
set "LIB=%LIB%;c:/program files/openssl/lib/VC/x64/MT" # run: nmake /F Makefile.msvc64 clean
nmake /F Makefile.msvc64
nmake /F Makefile.msvc64 clean
env:
LIBS: '/LIBPATH:"c:/program files/openssl/lib/VC/x64/MT"'
CFLAGS: '-I "c:/program files/openssl/include"'

View File

@ -10,13 +10,13 @@ MAKEFILE = Makefile.msvc64
BUILDDIR = ../bin64/ BUILDDIR = ../bin64/
CC = cl CC = cl
CFLAGS = /nologo /MT /W3 /Ox /EHs- /GS /GA /GF /D "MSVC" /D "WITH_STD_MALLOC" /D "WITH_SSL" /D "WITH_WSAPOLL" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /D "PRINTF_INT64_MODIFIER=\"I64\"" /Fp"proxy.pch" /FD /c $(VERSION) $(BUILDDATE) $(CFLAGS) CFLAGS = /nologo /MT /W3 /Ox /EHs- /GS /GA /GF /D "MSVC" /D "WITH_STD_MALLOC" /D "WITH_SSL" /D "WITH_WSAPOLL" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /D "PRINTF_INT64_MODIFIER=\"I64\"" /Fp"proxy.pch" /FD /c $(VERSION) $(BUILDDATE)
COUT = /Fo COUT = /Fo
LN = link LN = link
LDFLAGS = /nologo /subsystem:console /incremental:no /machine:x64 LDFLAGS = /nologo /subsystem:console /incremental:no /machine:x64
DLFLAGS = /DLL DLFLAGS = /DLL
DLSUFFICS = .dll DLSUFFICS = .dll
LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib Crypt32.lib libcrypto.lib libssl.lib $(LIBS) LIBS = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib Crypt32.lib libcrypto.lib libssl.lib
LIBSOLD = libeay32.lib ssleay32.lib LIBSOLD = libeay32.lib ssleay32.lib
LIBSPREFIX = LIBSPREFIX =
LIBSSUFFIX = .lib LIBSSUFFIX = .lib
@ -31,7 +31,7 @@ TYPECOMMAND = type
COMPATLIBS = COMPATLIBS =
VERFILE = 3proxy.res $(VERFILE) VERFILE = 3proxy.res $(VERFILE)
VERSIONDEP = 3proxy.res $(VERSIONDEP) VERSIONDEP = 3proxy.res $(VERSIONDEP)
PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin FilePlugin SSLPlugin PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin FilePlugin SSLPlugin PCREPlugin
AFTERCLEAN = del src\*.res AFTERCLEAN = del src\*.res
include Makefile.inc include Makefile.inc

View File

@ -13,6 +13,9 @@
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
#else #else
#ifdef WITH_SSL
#include <openssl/applink.c>
#endif
#endif #endif