Skip to content

Commit

Permalink
Rewrite news to frame this as a feature
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <[email protected]
  • Loading branch information
FFY00 committed Dec 17, 2024
1 parent 5230b61 commit 4274ff9
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Fix the loaded ``libpython`` library not being taken into account when
calculating :data:`sys.base_prefix` and :data:`sys.base_exec_prefix`.
We now use the location of the ``libpython`` runtime library used in the current
proccess to determine :data:`sys.base_prefix` on all platforms implementing the
`dladdr <https://pubs.opengroup.org/onlinepubs/9799919799/functions/dladdr.html>`
function defined by the UNIX standard — this includes Linux, Android, macOS, iOS,
FreeBSD, etc. This was already the case on Windows and macOS Framework builds.

0 comments on commit 4274ff9

Please sign in to comment.