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)