tools,clipboard: use lowercase library names for `-luser32`etc, allowing linux->windows cross compilation of ui programs (#10455)

pull/10443/head^2
kac- 2021-06-14 14:42:56 +02:00 committed by GitHub
parent 46148760cc
commit 8d4c9823ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ import v.util
$if windows { $if windows {
$if tinyc { $if tinyc {
#flag -lAdvapi32 #flag -ladvapi32
#flag -lUser32 #flag -luser32
} }
} }
fn main() { fn main() {

View File

@ -3,7 +3,7 @@ module clipboard
import time import time
#include <windows.h> #include <windows.h>
#flag -lUser32 #flag -luser32
struct WndClassEx { struct WndClassEx {
cb_size u32 cb_size u32