From fc3e2f5ad03d207e5f91aa06c26f8b079c2a29c6 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Thu, 25 Oct 2018 03:52:14 +0200 Subject: [PATCH] depfixer: Do not try to fix rpaths of dlls --- mesonbuild/scripts/depfixer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py index f9d7692e5..7294186e7 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)