diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-14 13:47:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 13:47:39 +0200 |
commit | 299a67781e8330e110bd2aee76464ac6b755322c (patch) | |
tree | 8772aa52e79947a60a22b2a034a46f9b0da37f8a /mesonbuild/build.py | |
parent | 8dcc7d3ef3cb95029c41a0d4accef86415f29cb8 (diff) | |
parent | 6ce3812762405393d912ca8f222fa86cb2d6bed3 (diff) | |
download | meson-299a67781e8330e110bd2aee76464ac6b755322c.zip meson-299a67781e8330e110bd2aee76464ac6b755322c.tar.gz meson-299a67781e8330e110bd2aee76464ac6b755322c.tar.bz2 |
Merge pull request #7843 from dcbaker/submit/rustc-fixes
A few fixups for rust
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 78292f2..36d4e19 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1359,11 +1359,12 @@ You probably should put it in link_with instead.''') for link_target in self.link_targets: if isinstance(link_target, SharedModule): if self.environment.machines[self.for_machine].is_darwin(): - raise MesonException('''target links against shared modules. -This is not permitted on OSX''') + raise MesonException( + 'target links against shared modules. This is not permitted on OSX') else: - mlog.warning('''target links against shared modules. This is not -recommended as it is not supported on some platforms''') + mlog.warning('target links against shared modules. This ' + 'is not recommended as it is not supported on some ' + 'platforms') return class Generator: |