1
0
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:
Bakul Shah
2020-12-31 01:34:46 -08:00
committed by GitHub
parent 7ce3c5e206
commit 45495c3ebb
2 changed files with 4 additions and 2 deletions

View File

@@ -15,14 +15,14 @@ fn run_test(is_primary bool) {
}
fn test_primary() {
$if linux {
$if linux || freebsd {
// run_test(true)
return
}
}
fn test_clipboard() {
$if linux {
$if linux || freebsd {
return
}
run_test(false)

View File

@@ -7,6 +7,8 @@ import sync
import math
#flag -lX11
#flag freebsd -I/usr/local/include
#flag freebsd -L/usr/local/lib -lX11
#include <X11/Xlib.h>
// X11