aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/scripts/depfixer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py
index 9925f4e..5be7d40 100644
--- a/mesonbuild/scripts/depfixer.py
+++ b/mesonbuild/scripts/depfixer.py
@@ -431,8 +431,8 @@ 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'):
+ # DLLs and EXE never have rpaths
+ if fname.endswith('.dll') or fname.endswith('.exe'):
return
try:
if fname.endswith('.jar'):