diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index c4b5c61..1a18e93 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -119,6 +119,9 @@ restore_library_helper() { if ! [ -d "$brew_prefix/opt/$dep_name" ]; then brew link --force --overwrite "$dep_name" 2>/dev/null || true fi + if ! [ -d "$brew_prefix/opt/$dep_name" ]; then + sudo ln -sf "$brew_cellar"/"$dep_name"/* "$brew_prefix"/opt/libffi + fi } restore_library() {