Skip to content

Commit 7ddc2ea

Browse files
committed
Fix conda build failure due to long prefix on Mac.
Build extension module with sufficient header space for install_name_tool and for enormous prefix lengths used in conda build.
1 parent 129420e commit 7ddc2ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SConstruct

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ if env['PLATFORM'] == 'darwin':
110110
env.Replace(SHLINKFLAGS=darwin_shlinkflags)
111111
env.AppendUnique(SHLINKFLAGS=['-bundle'])
112112
env.AppendUnique(SHLINKFLAGS=['-undefined', 'dynamic_lookup'])
113+
env.AppendUnique(SHLINKFLAGS=['-headerpad_max_install_names'])
113114
fast_linkflags[:] = []
114115

115116
# Compiler specific options

0 commit comments

Comments
 (0)