Skip to content

Commit e45e1e7

Browse files
committed
Test Windows without zlib
1 parent a1652cc commit e45e1e7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Makevars.win

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
PKG_CONFIG ?= $(BINPREF)pkg-config
22
OPENSSL_LIBS := $(shell $(PKG_CONFIG) --libs openssl)
33

4-
ifneq ($(OPENSSL_LIBS),)
5-
$(info using OpenSSL from Rtools)
6-
OPENSSL_CFLAGS := $(shell $(PKG_CONFIG) --cflags openssl)
7-
else
4+
85
RWINLIB = ../windows/libssl
96
TARGET = lib$(subst gcc,,$(COMPILED_BY))$(R_ARCH)
107
OPENSSL_CFLAGS = -I$(RWINLIB)/include
11-
OPENSSL_LIBS = -L$(RWINLIB)/$(TARGET) -L$(RWINLIB)/lib -lssl -lcrypto -lz -lws2_32 -lgdi32 -lcrypt32
12-
endif
8+
OPENSSL_LIBS = -L$(RWINLIB)/$(TARGET) -L$(RWINLIB)/lib -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32
9+
1310

1411
STATLIB = bcrypt/libstatbcrypt.a
1512
LIBBCRYPT = bcrypt/bcrypt_pbkdf.o bcrypt/blowfish.o

0 commit comments

Comments
 (0)