depfixer: Do not try to fix rpaths of dlls
@@ -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)
