summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author Emmanuel Vadot <manu@bidouilliste.com>2020-09-27 12:41:14 +0200
committer GitHub <noreply@github.com>2020-09-27 20:41:14 +1000
commite996e148f38b9603e634517128cd0a4d5eb4eb94 (patch)
tree4716fc7c8309a8da8facf22e31edd88a6b709c9b /scripts/src
parenta1d35e5abf431e03e06d55b96379a3b14753ed4d (diff)
FreeBSD fixes (#7295)
* psixptty: Fix for FreeBSD We need to check for __FreeBSD__ not __FreeBSD_kernel__ * FreeBSD: Use gl includes from pkg-config FreeBSD doesn't install the includes from 3rdparty software in a default location so use pkg-config to get the correct path. * FreeBSD: genieos is named simple bsd
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/3rdparty.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index b3fc924eab4..5056334b79e 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -1390,6 +1390,12 @@ end
end
end
+ if _OPTIONS["targetos"]=="freebsd" then
+ buildoptions {
+ backtick(pkgconfigcmd() .. " --cflags gl")
+ }
+ end
+
defines {
"__STDC_LIMIT_MACROS",
"__STDC_FORMAT_MACROS",