Skip to content

Commit b1e3ac5

Browse files
committed
Add skip_clean for libexec/venv to prevent orjson dylib relocation errors
1 parent f5f9abb commit b1e3ac5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packaging/homebrew/mfc.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class Mfc < Formula
2121
depends_on "openblas"
2222
depends_on "[email protected]"
2323

24+
# Skip relocation for Python C extensions in the venv
25+
# The venv is self-contained in libexec and doesn't need Homebrew's relocation
26+
skip_clean "libexec/venv"
27+
2428
def install
2529
# Create Python virtual environment inside libexec (inside Cellar for proper bottling)
2630
venv = libexec/"venv"

0 commit comments

Comments
 (0)