aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2022-04-20 23:23:02 +0200
committerEli Schwartz <eschwartz93@gmail.com>2022-04-20 17:52:44 -0400
commit1c23281653dfd4ada517f0f0ceb2b7506003aa29 (patch)
treeb365f347d999c1a024d758ae3bf5f83324b0d6f3 /mesonbuild/scripts
parent54808cd39b765f5553c3c6ae49e5ef14b5290b08 (diff)
downloadmeson-1c23281653dfd4ada517f0f0ceb2b7506003aa29.zip
meson-1c23281653dfd4ada517f0f0ceb2b7506003aa29.tar.gz
meson-1c23281653dfd4ada517f0f0ceb2b7506003aa29.tar.bz2
Add NetBSD support in symbolextractor.
Choose FreeBSD backend (OpenBSD backend would also work).
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/symbolextractor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/scripts/symbolextractor.py b/mesonbuild/scripts/symbolextractor.py
index 231cb45..8f61ad4 100644
--- a/mesonbuild/scripts/symbolextractor.py
+++ b/mesonbuild/scripts/symbolextractor.py
@@ -288,6 +288,8 @@ def gen_symbols(libfilename: str, impfilename: str, outfilename: str, cross_host
openbsd_syms(libfilename, outfilename)
elif mesonlib.is_freebsd():
freebsd_syms(libfilename, outfilename)
+ elif mesonlib.is_netbsd():
+ freebsd_syms(libfilename, outfilename)
elif mesonlib.is_windows():
if os.path.isfile(impfilename):
windows_syms(impfilename, outfilename)