8000 Fix OSX include flags, note link / include checks · MacPython/matplotlib-wheels@c7d4f18 · GitHub
[go: up one dir, main page]

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

Commit c7d4f18

Browse files
committed
Fix OSX include flags, note link / include checks
1 parent 0c76cd8 commit c7d4f18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ function pre_build {
1111
# Problems on OSX 10.6 with zlib
1212
# https://github.com/matplotlib/matplotlib/issues/6945
1313
# Promote BUILD_PREFIX on search path to find new zlib
14-
export CPPFLAGS="-L$BUILD_PREFIX/include"
14+
# Check include path with ``clang -x c -v -E /dev/null``
15+
# Check lib path with ``ld -v .``
16+
# https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/
17+
export CPPFLAGS="-I$BUILD_PREFIX/include"
1518
export LDFLAGS="-L$BUILD_PREFIX/lib"
1619
build_new_zlib
1720
fi

0 commit comments

Comments
 (0)
0