1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

OpenBSD: support Boehm-GC, X11 and Sqlite (#10300)

This commit is contained in:
Uwe Krüger
2021-06-01 21:28:30 +02:00
committed by GitHub
parent 14d09aa7c2
commit ce3e71cb8e
4 changed files with 31 additions and 15 deletions

View File

@ -6,9 +6,15 @@ import time
import sync
import math
$if freebsd {
#flag -I/usr/local/include
#flag -L/usr/local/lib
} $else $if openbsd {
#flag -I/usr/X11R6/include
#flag -L/usr/X11R6/lib
}
#flag -lX11
#flag freebsd -I/usr/local/include
#flag freebsd -L/usr/local/lib -lX11
#include <X11/Xlib.h> # Please install a package with the X11 development headers, for example: `apt-get install libx11-dev`
// X11
[typedef]