mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools,clipboard: use lowercase library names for -luser32etc, allowing linux->windows cross compilation of ui programs (#10455)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user