Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 0c76cd8

Browse files
committed
Try again to use new zlib in libpng compile
1 parent 4f192cb commit 0c76cd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
function pre_build {
55
# Any stuff that you need to do before you start building the wheels
66
# Runs in the root directory of this repository.
7-
source multibuild/library_builders.sh
87
if [ -n "$IS_OSX" ]; then
98
export CC=clang
109
export CXX=clang++
1110
brew install pkg-config
1211
# Problems on OSX 10.6 with zlib
1312
# https://github.com/matplotlib/matplotlib/issues/6945
13+
# Promote BUILD_PREFIX on search path to find new zlib
14+
export CPPFLAGS="-L$BUILD_PREFIX/include"
15+
export LDFLAGS="-L$BUILD_PREFIX/lib"
1416
build_new_zlib
1517
fi
1618
build_jpeg

0 commit comments

Comments
 (0)