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 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