Skip to content

Commit 621a420

Browse files
committed
Platform: link against ComCtl32 when using Common Controls
This adds a missing link directive to the ComCtl32 module. This allows use of the module without requiring the user to explicitly add the linked library to the target when building code against this module.
1 parent 8184952 commit 621a420

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ module WinSDK [system] {
148148
module CommCtrl {
149149
header "CommCtrl.h"
150150
export *
151+
152+
link "ComCtl32.Lib"
151153
}
152154

153155
module CommDlg {

0 commit comments

Comments
 (0)