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 c9c6e68

Browse files
committed
Try fix for py2app issue
See: matplotlib/matplotlib#10649 Remove workaround for library order now fixed in multibuild.
1 parent 72fb06b commit c9c6e68

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

config.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@ function pre_build {
1616
export CC=clang
1717
export CXX=clang++
1818
install_pkg_config
19-
# Problems on OSX 10.6 with zlib
20-
# https://github.com/matplotlib/matplotlib/issues/6945
21-
# Promote BUILD_PREFIX on search path to find new zlib
22-
# Check include path with ``clang -x c -v -E /dev/null``
23-
# Check lib path with ``ld -v .``
24-
# https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/
25-
export CPPFLAGS="-I$BUILD_PREFIX/include"
26-
export LDFLAGS="-L$BUILD_PREFIX/lib"
19+
# See https://github.com/matplotlib/matplotlib/issues/10649
20+
export LDFLAGS="-headerpad_max_install_names"
2721
build_new_zlib
2822
local default_backend=macosx
2923
else

0 commit comments

Comments
 (0)