From da4075117e3ad3a340e0d23fa7d53a9009305a61 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 18 Dec 2022 13:09:26 +0200 Subject: [PATCH] Zlib has a different filename in MSVC builds --- packages/zlib.bpk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/zlib.bpk b/packages/zlib.bpk index 75679bb..a6fa6ed 100644 --- a/packages/zlib.bpk +++ b/packages/zlib.bpk @@ -1,8 +1,18 @@ binary_package "zlib" { - build_info + if_arch "msvc" { - library "z"; + build_info + { + library "zlib"; + }; + }; + if_arch "!msvc" + { + build_info + { + library "z"; + }; }; header "zlib.h"; }; -- 2.45.2