Skip to content
Snippets Groups Projects
Unverified Commit 97e909ef authored by iarspider's avatar iarspider Committed by GitHub
Browse files

Fix expect on linux (#15230) (#15269)

* Fix expect on linux

* Flake8
parent 38d5d730
Branches
Tags
No related merge requests found
...@@ -66,7 +66,8 @@ def darwin_fix(self): ...@@ -66,7 +66,8 @@ def darwin_fix(self):
fix_darwin_install_name( fix_darwin_install_name(
join_path(self.prefix.lib, 'expect{0}'.format(self.version))) join_path(self.prefix.lib, 'expect{0}'.format(self.version)))
old = 'libexpect{0}.dylib'.format(self.version) old = 'libexpect{0}.dylib'.format(self.version)
new = glob.glob(join_path(self.prefix.lib, 'expect*', 'libexpect*'))[0] new = glob.glob(join_path(self.prefix.lib, 'expect*',
install_name_tool = Executable('install_name_tool') 'libexpect*'))[0]
install_name_tool('-change', old, new, self.prefix.bin.expect) install_name_tool = Executable('install_name_tool')
install_name_tool('-change', old, new, self.prefix.bin.expect)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment