mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix Python bz2 module failing to import on older macOS versions
Found by failing bundled modules test. The bz2 library was compiled without proper minimum SDK version flags.
This commit is contained in:
parent
6c4ef6159c
commit
0ddf5860f5
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ if(UNIX AND NOT APPLE)
|
|||
set(BZIP2_CFLAGS "-fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64")
|
||||
set(BZIP2_CONFIGURE_ENV ${BZIP2_CONFIGURE_ENV} && export LDFLAGS=${BZIP2_LDFLAGS} && export CFLAGS=${BZIP2_CFLAGS}
|
||||
&& export PREFIX=${BZIP2_PREFIX})
|
||||
else()
|
||||
set(BZIP2_CONFIGURE_ENV ${CONFIGURE_ENV})
|
||||
endif()
|
||||
|
||||
ExternalProject_Add(external_bzip2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue