diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 8d988d520..0826f1d5f 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -99,7 +99,7 @@ link_libraries() { formula=$1 formula_prefix="$(brew --prefix "$formula")" sudo mkdir -p "$formula_prefix"/lib - for lib in "$formula_prefix"/lib/*.dylib; do + for lib in "$formula_prefix"/lib/*.dylib "$formula_prefix"/lib/*.so; do lib_name=$(basename "$lib") sudo cp -a "$lib" "$brew_prefix/lib/$lib_name" 2>/dev/null || true done