]> git.tdb.fi Git - libs/core.git/commitdiff
Add necessary libraries
authorMikko Rasa <tdb@tdb.fi>
Wed, 1 Sep 2021 00:13:32 +0000 (03:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 1 Sep 2021 00:13:32 +0000 (03:13 +0300)
These are not included by default on MSVC

Build

diff --git a/Build b/Build
index 810880346774ca546a57a848b1be3c19aeeafa1a..a2a3040f88af33e145d28e0241153a87864225ba 100644 (file)
--- a/Build
+++ b/Build
@@ -33,6 +33,15 @@ package "mspcore"
                };
        };
 
+       if_arch "windows"
+       {
+               build_info
+               {
+                       library "advapi32";
+                       library "shell32";
+               };
+       };
+
        feature "zlib" "Support compression with zlib"
        {
                default "yes";