aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-08-19 15:46:24 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-09-09 21:22:26 -0700
commit4030ee4b6f4c6c65a6b0a772438b7d68835fc529 (patch)
tree2e15b156ee3e239d61ec04a9e4ea6c24ea9e8ec1 /mesonbuild/compilers/compilers.py
parent67d1948005579a59125ecb0340cecd62642510a0 (diff)
downloadmeson-4030ee4b6f4c6c65a6b0a772438b7d68835fc529.zip
meson-4030ee4b6f4c6c65a6b0a772438b7d68835fc529.tar.gz
meson-4030ee4b6f4c6c65a6b0a772438b7d68835fc529.tar.bz2
the solaris linker also needs start/end-group for circular linking
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 38bf240..a1292a4 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -16,7 +16,7 @@ import contextlib, enum, os.path, re, tempfile
import typing
from typing import Optional, Tuple, List
-from ..linkers import StaticLinker, GnuLikeDynamicLinkerMixin
+from ..linkers import StaticLinker, GnuLikeDynamicLinkerMixin, SolarisDynamicLinker
from .. import coredata
from .. import mlog
from .. import mesonlib
@@ -533,7 +533,7 @@ class CompilerArgs(list):
# TODO: this could probably be added to the DynamicLinker instead
if (hasattr(self.compiler, 'linker') and
self.compiler.linker is not None and
- isinstance(self.compiler.linker, GnuLikeDynamicLinkerMixin)):
+ isinstance(self.compiler.linker, (GnuLikeDynamicLinkerMixin, SolarisDynamicLinker))):
group_start = -1
group_end = -1
for i, each in enumerate(new):