Skip to content

Commit 1db300f

Browse files
kaliberas-u
authored andcommitted
Use pkg-config on Windows when available.
1 parent a44b25c commit 1db300f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Makevars.win

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
PKG_LIBS = -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lz
1+
ifeq (,$(shell pkg-config --version 2>/dev/null))
2+
PKG_LIBS = -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lz
3+
else
4+
PKG_LIBS = $(shell pkg-config --libs openssl)
5+
endif

0 commit comments

Comments
 (0)