Skip to content

Commit

Permalink
Merge pull request #18557 from Homebrew/super-python-envvars
Browse files Browse the repository at this point in the history
extend/ENV/super: use brew libs for some Python packages
  • Loading branch information
MikeMcQuaid authored Oct 13, 2024
2 parents e066806 + 89fe201 commit 9fa2751
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Library/Homebrew/extend/ENV/super.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ def setup_build_environment(formula: nil, cc: nil, build_bottle: false, bottle_a
# Prevent Go from automatically downloading a newer toolchain than the one that we have.
# https://tip.golang.org/doc/toolchain
self["GOTOOLCHAIN"] = "local"
# Prevent Python packages from using bundled libraries by default.
# Currently for hidapi, pyzmq and pynacl
self["HIDAPI_SYSTEM_HIDAPI"] = "1"
self["PYZMQ_NO_BUNDLE"] = "1"
self["SODIUM_INSTALL"] = "system"

set_debug_symbols if debug_symbols

Expand Down

0 comments on commit 9fa2751

Please sign in to comment.