mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools,clipboard: use lowercase library names for -luser32
etc, allowing linux->windows cross compilation of ui programs (#10455)
This commit is contained in:
parent
46148760cc
commit
8d4c9823ba
@ -4,8 +4,8 @@ import v.util
|
||||
|
||||
$if windows {
|
||||
$if tinyc {
|
||||
#flag -lAdvapi32
|
||||
#flag -lUser32
|
||||
#flag -ladvapi32
|
||||
#flag -luser32
|
||||
}
|
||||
}
|
||||
fn main() {
|
||||
|
@ -3,7 +3,7 @@ module clipboard
|
||||
import time
|
||||
|
||||
#include <windows.h>
|
||||
#flag -lUser32
|
||||
#flag -luser32
|
||||
|
||||
struct WndClassEx {
|
||||
cb_size u32
|
||||
|
Loading…
Reference in New Issue
Block a user