mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
clipboard: fix test on freebsd (#7735)
This commit is contained in:
parent
7ce3c5e206
commit
45495c3ebb
@ -15,14 +15,14 @@ fn run_test(is_primary bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn test_primary() {
|
fn test_primary() {
|
||||||
$if linux {
|
$if linux || freebsd {
|
||||||
// run_test(true)
|
// run_test(true)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_clipboard() {
|
fn test_clipboard() {
|
||||||
$if linux {
|
$if linux || freebsd {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
run_test(false)
|
run_test(false)
|
||||||
|
@ -7,6 +7,8 @@ import sync
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
#flag -lX11
|
#flag -lX11
|
||||||
|
#flag freebsd -I/usr/local/include
|
||||||
|
#flag freebsd -L/usr/local/lib -lX11
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
||||||
// X11
|
// X11
|
||||||
|
Loading…
Reference in New Issue
Block a user