aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2020-04-09 12:02:19 +0200
committerDylan Baker <dylan@pnwbakers.com>2020-04-10 11:29:35 -0700
commit626522965f30827a48eb97e05a5d942a493edb84 (patch)
tree7577d1f0739b57278e583699289470b9e8ceb8a8
parenta2b8ed14467f080d33c4ed766089de572dde1075 (diff)
downloadmeson-626522965f30827a48eb97e05a5d942a493edb84.zip
meson-626522965f30827a48eb97e05a5d942a493edb84.tar.gz
meson-626522965f30827a48eb97e05a5d942a493edb84.tar.bz2
symbolextractor: add support for hurd
Use the GNU toolchain for that.
-rw-r--r--mesonbuild/scripts/symbolextractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/symbolextractor.py b/mesonbuild/scripts/symbolextractor.py
index 876e038..d393f93 100644
--- a/mesonbuild/scripts/symbolextractor.py
+++ b/mesonbuild/scripts/symbolextractor.py
@@ -230,7 +230,7 @@ def gen_symbols(libfilename: str, impfilename: str, outfilename: str, cross_host
# determine the correct toolset, but we would need to use the correct
# `nm`, `readelf`, etc, from the cross info which requires refactoring.
dummy_syms(outfilename)
- elif mesonlib.is_linux():
+ elif mesonlib.is_linux() or mesonlib.is_hurd():
gnu_syms(libfilename, outfilename)
elif mesonlib.is_osx():
osx_syms(libfilename, outfilename)