mirror of https://github.com/KLayout/klayout.git
Added the -headerpad_max_install_names switch to LDFLAGS to address an issue reported by the delocate-wheel tool.
https://stackoverflow.com/questions/28324785/install-name-tool-cant-use-change-because-larger-updated-load-commands-do-not
This commit is contained in:
parent
8212b7cefd
commit
36c883dba3
|
|
@ -942,9 +942,9 @@ def Build_pymod(parameters):
|
|||
try:
|
||||
ldpath = os.environ['LDFLAGS']
|
||||
except KeyError:
|
||||
os.environ['LDFLAGS'] = '-L%s' % addLibPath
|
||||
os.environ['LDFLAGS'] = '-L%s -headerpad_max_install_names' % addLibPath
|
||||
else:
|
||||
os.environ['LDFLAGS'] = '-L%s %s' % (addLibPath, ldpath)
|
||||
os.environ['LDFLAGS'] = '-L%s %s -headerpad_max_install_names' % (addLibPath, ldpath)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# [3] Set different command line parameters for building <pymod>
|
||||
|
|
|
|||
Loading…
Reference in New Issue