aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-02-02 19:37:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-02-06 19:09:22 +0100
commit14e0529a037eb8f3d809822c811d2c034d8f0788 (patch)
tree59615c73a5455fbb4cfe6cdc9e9515f53fbaf438 /mesonbuild/scripts
parenta9c4428c6925c921102e52aeaea1b92ed6914af1 (diff)
downloadmeson-14e0529a037eb8f3d809822c811d2c034d8f0788.zip
meson-14e0529a037eb8f3d809822c811d2c034d8f0788.tar.gz
meson-14e0529a037eb8f3d809822c811d2c034d8f0788.tar.bz2
Do not strip jar targets. Closes #1343.
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/meson_install.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/scripts/meson_install.py b/mesonbuild/scripts/meson_install.py
index a74573e..2ffc505 100644
--- a/mesonbuild/scripts/meson_install.py
+++ b/mesonbuild/scripts/meson_install.py
@@ -237,6 +237,9 @@ def install_targets(d):
elif os.path.isfile(fname):
do_copyfile(fname, outname)
if should_strip:
+ if fname.endswith('.jar'):
+ print('Not stripping jar target:', os.path.split(fname)[1])
+ continue
print('Stripping target {!r}'.format(fname))
ps, stdo, stde = Popen_safe(['strip', outname])
if ps.returncode != 0: