Skip to content

Commit

Permalink
build: windows: vc: support static linkage of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
alonbl committed Apr 20, 2023
1 parent e71fa76 commit 35fa728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Makefile.w32-vc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ OPENSSL_INC=$(OPENSSL_HOME)\include
OPENSSL_LIB=$(OPENSSL_HOME)\lib

OPENSSL_CFLAGS=-I$(OPENSSL_INC) -DENABLE_PKCS11H_OPENSSL
OPENSSL_LIBS=-LIBPATH:$(OPENSSL_LIB) user32.lib advapi32.lib $(OPENSSL_STATIC)
OPENSSL_LIBS=-LIBPATH:$(OPENSSL_LIB) user32.lib advapi32.lib ws2_32.lib crypt32.lib $(OPENSSL_STATIC)
!endif

CFLAGS = -I../include $(OPENSSL_CFLAGS) -DWIN32 -DWIN32_LEAN_AND_MEAN -D_MBCS -D_CRT_SECURE_NO_DEPRECATE -D_WIN32_WINNT=0x0400
Expand Down

0 comments on commit 35fa728

Please sign in to comment.