wcslib: fix darwin install name (#12868)

This commit is contained in:
Adam J. Stewart
2019-09-18 22:44:38 -05:00
committed by GitHub
parent 1fe94748d2
commit b33d005267

View File

@@ -47,3 +47,9 @@ def configure_args(self):
args.append('--without-x')
return args
@run_after('install')
def darwin_fix(self):
# The shared library is not installed correctly on Darwin; fix this
if self.spec.satisfies('platform=darwin'):
fix_darwin_install_name(self.prefix.lib)