diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-03 15:41:34 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-03 15:52:31 +0530 |
commit | 303b8819ecc4adf5268d0a73aa25aa1540b3c2bc (patch) | |
tree | bf6d2eccb6a4e5eb44add68a19d2dbc12a96dc5e /mesonbuild/backend/ninjabackend.py | |
parent | 2340fd3d8aa5c6ed829ff3bda8a64137ead4b8eb (diff) | |
download | meson-303b8819ecc4adf5268d0a73aa25aa1540b3c2bc.zip meson-303b8819ecc4adf5268d0a73aa25aa1540b3c2bc.tar.gz meson-303b8819ecc4adf5268d0a73aa25aa1540b3c2bc.tar.bz2 |
Nuke dead code which was used for installing PDB files
We check for the existence of PDB files in the install script, so we
don't need to do all this mucking about here. That's more robust too
because we don't need to parse build arguments in buildtype=plain
and decide if the PDB file would be generated.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 5e137ca..16a31a1 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -653,13 +653,6 @@ int dummy; else: # XXX: Add BuildTarget-specific install dir cases here outdir = self.environment.get_libdir() - if isinstance(t, build.SharedLibrary) or isinstance(t, build.Executable): - if t.get_debug_filename(): - # Install the debug symbols file in the same place as - # the target itself. It has no aliases, should not be - # stripped, and doesn't have an install_rpath - i = [self.get_target_debug_filename(t), outdir, {}, False, ''] - d.targets.append(i) if isinstance(t, build.BuildTarget): i = [self.get_target_filename(t), outdir, t.get_aliases(), should_strip, t.install_rpath] |