gplugin/gplugin

Some tweak to fix the build on openbsd

2020-12-29, Gary Kramlich
d54f5079d963
Parents b9265f30d267
Children 5b02e2cd29e2
Some tweak to fix the build on openbsd

Testing Done:
Ran the build on a OpenBSD 32bit machine with default options.

Reviewed at https://reviews.imfreedom.org/r/311/
--- a/lua/meson.build Fri Nov 20 21:19:12 2020 -0600
+++ b/lua/meson.build Tue Dec 29 00:26:36 2020 -0600
@@ -17,13 +17,14 @@
# These are ordered from most to least preferred, which would normally
# be from the highest to lowest version.
_LUAS = [
+ ['lua-5.3', '>=5.3.0'],
['lua5.3', '>=5.3.0'],
- ['lua-5.3', '>=5.3.0'],
- ['lua5.2', '>=5.2.0'],
['lua-5.2', '>=5.2.0'],
+ ['lua5.2', '>=5.2.0'],
+ ['lua52', '>=5.2.0'],
['luajit', '>=2.0.0'],
+ ['lua-5.1', '>=5.1.0'],
['lua5.1', '>=5.1.0'],
- ['lua-5.1', '>=5.1.0'],
['lua', '>=5.1.0'],
]
LUA_FOUND = false
--- a/perl5/meson.build Fri Nov 20 21:19:12 2020 -0600
+++ b/perl5/meson.build Tue Dec 29 00:26:36 2020 -0600
@@ -36,7 +36,7 @@
link_args : run_command(PERL, '-MExtUtils::Embed', '-e', 'ldopts', check : true).stdout().split(),
)
- if host_machine.system() == 'freebsd'
+ if host_machine.system() in ['freebsd', 'openbsd']
perl_arch = 'sitearchexp'
else
perl_arch = 'vendorarchexp'