Skip to content

Commit

Permalink
Fix error in LDFLAGS. Ref bpo-46975.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 23, 2022
1 parent 28e31e9 commit 47c4ec0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v7.9.1
======

* bpo-46975: Fix error in LDFLAGS building Python on macOS.

v7.9.0
======

Expand Down
2 changes: 1 addition & 1 deletion jaraco/develop/macos-build-python.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def build_on_macOS(debug=False):
env = dict(
os.environ,
CPPFLAGS=f'-I{brew_prefix()}/include',
LDFLAGS=f'-I{brew_prefix()}/lib',
LDFLAGS=f'-L{brew_prefix()}/lib',
)
cmd = ['./configure', f'--with-openssl={brew_prefix("openssl@1.1")}']
cmd += ['--with-pydebug'] * debug
Expand Down

0 comments on commit 47c4ec0

Please sign in to comment.