clipboard: fix test on freebsd (#7735)

pull/7739/head
Bakul Shah 2020-12-31 01:34:46 -08:00 committed by GitHub
parent 7ce3c5e206
commit 45495c3ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

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

View File

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