]> git.tdb.fi Git - builder.git/commitdiff
Zlib has a different filename in MSVC builds
authorMikko Rasa <tdb@tdb.fi>
Sun, 18 Dec 2022 11:09:26 +0000 (13:09 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 18 Dec 2022 11:46:24 +0000 (13:46 +0200)
packages/zlib.bpk

index 75679bbb912226bb9dcbd72ddb1c09516c99e3cc..a6fa6edd8326325176ec9cf705c6983659522f85 100644 (file)
@@ -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";
 };