clipboard: fix test on freebsd (#7735)
parent
7ce3c5e206
commit
45495c3ebb
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue