Compare commits

..

8 Commits

Author SHA1 Message Date
Vladimir Dubrovin
a5c81e4a29 Update c-cpp.yml
Some checks failed
C/C++ CI / ${{ matrix.target }} (macos-15) (push) Has been cancelled
C/C++ CI / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Has been cancelled
C/C++ CI / ${{ matrix.target }} (ubuntu-latest) (push) Has been cancelled
C/C++ CI / ${{ matrix.target }} (windows-2022) (push) Has been cancelled
2026-03-31 11:26:54 +03:00
Vladimir Dubrovin
d19a412b11 Update Makefile.msvc64 2026-03-31 11:19:59 +03:00
Vladimir Dubrovin
cf045b3bea Update c-cpp.yml 2026-03-31 11:14:54 +03:00
Vladimir Dubrovin
8efaee2651 Update Makefile.msvc64 2026-03-31 11:08:03 +03:00
Vladimir Dubrovin
3189a6a93e Update c-cpp.yml 2026-03-31 11:01:45 +03:00
Vladimir Dubrovin
da0aebe31c Do not use applink.c 2026-03-31 10:58:32 +03:00
Vladimir Dubrovin
ecc8d98f88 Update c-cpp.yml 2026-03-31 10:48:54 +03:00
Vladimir Dubrovin
7fb1dc4f65 Update c-cpp.yml 2026-03-31 10:43:13 +03:00
3 changed files with 20 additions and 18 deletions

View File

@ -59,15 +59,20 @@ 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: make Windows MSVC - name: Add msbuild to PATH
# if: ${{ startsWith(matrix.target, 'windows') }} if: ${{ startsWith(matrix.target, 'windows') }}
# shell: cmd uses: microsoft/setup-msbuild@v3
# run: | - name: make Windows MSVC
# call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" if: ${{ startsWith(matrix.target, 'windows') }}
# nmake /F Makefile.msvc64' shell: cmd
# env: run: |
# LIBS: '-L "c:/program files/openssl/lib/VC/x64/MT"' call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
# CFLAGS: '-I "c:/program files/openssl/include"' D:
# - name: make clean Windows cd "D:/a/3proxy/3proxy"
# if: ${{ startsWith(matrix.target, 'windows') }} mkdir bin64
# run: nmake /F Makefile.msvc64 clean set "LIB=%LIB%;c:/program files/openssl/lib/VC/x64/MT"
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 = /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)
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 = ws2_32.lib advapi32.lib odbc32.lib user32.lib kernel32.lib Gdi32.lib Crypt32.lib libcrypto.lib libssl.lib $(LIBS)
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 PCREPlugin PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin FilePlugin SSLPlugin
AFTERCLEAN = del src\*.res AFTERCLEAN = del src\*.res
include Makefile.inc include Makefile.inc

View File

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