Prevent install_name_tool to run on EXE when cross compile on OSX

pull/6173/head
Binh Nguyen 5 years ago committed by Jussi Pakkanen
parent ad20067ed2
commit f6758f2434
  1. 4
      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'):

Loading…
Cancel
Save