PolicyKit: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Feb 8 11:34:48 UTC 2023
meson.build | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 2d07b95524891470e0eadfeab6a751bd723215a3
Author: Olivier Duchateau <duchateau.olivier at gmail.com>
Date: Mon Oct 31 10:28:23 2022 +0100
Fix linker issue (on FreeBSD) with Spidermonkey JavaScript engine
diff --git a/meson.build b/meson.build
index 876b55e..f3a8588 100644
--- a/meson.build
+++ b/meson.build
@@ -154,6 +154,11 @@ if js_engine == 'duktape'
config_h.set('HAVE_' + func.to_upper(), cc.has_function(func, prefix : '#include <pthread.h>'))
elif js_engine == 'mozjs'
js_dep = dependency('mozjs-102')
+
+ _system = host_machine.system().to_lower()
+ if _system.contains('freebsd')
+ config_h.set('__BSD_VISIBLE', 1)
+ endif
endif
dbus_dep = dependency('dbus-1', required: false)
More information about the hal-commit
mailing list