aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2018-10-25 03:52:14 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-10-25 19:30:02 +0300
commitfc3e2f5ad03d207e5f91aa06c26f8b079c2a29c6 (patch)
treee4b655cc8e60b26fe35cd44c3f3db7a408ea4fba /mesonbuild/scripts
parent83c62a33419ae68b3bbf74499555bf96bd34b975 (diff)
downloadmeson-fc3e2f5ad03d207e5f91aa06c26f8b079c2a29c6.zip
meson-fc3e2f5ad03d207e5f91aa06c26f8b079c2a29c6.tar.gz
meson-fc3e2f5ad03d207e5f91aa06c26f8b079c2a29c6.tar.bz2
depfixer: Do not try to fix rpaths of dlls
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/depfixer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py
index f9d7692..7294186 100644
--- a/mesonbuild/scripts/depfixer.py
+++ b/mesonbuild/scripts/depfixer.py
@@ -432,6 +432,9 @@ def fix_rpath(fname, new_rpath, final_path, install_name_mappings, verbose=True)
# Static libraries never have rpaths
if fname.endswith('.a'):
return
+ # DLLs never have rpaths
+ if fname.endswith('.dll'):
+ return
try:
if fname.endswith('.jar'):
fix_jar(fname)