tools,clipboard: use lowercase library names for `-luser32`etc, allowing linux->windows cross compilation of ui programs (#10455)
parent
46148760cc
commit
8d4c9823ba
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue