@ilovezfs Not sure. We appear to be setting the variable correctly, but Python's not picking it up:
```console
$ /usr/local/Cellar/python3/3.6.4/bin/python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_makefile_filename()); print(distutils.sysconfig.get_config_var("LINKFORSHARED"))'
/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin/Makefile
-Wl,-stack_size,1000000 -framework CoreFoundation Python.framework/Versions/3.6/Python
$ grep -E '^(LINKFORSHARED|PYTHONFRAMEWORKINSTALLDIR)' /usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin/Makefile
LINKFORSHARED= -Wl,-stack_size,1000000 -framework CoreFoundation $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
PYTHONFRAMEWORKINSTALLDIR= /usr/local/opt/python3/Frameworks/Python.framework
```
I'll test a non-Homebrew build later to see if this is brew-specific. So Tim's no longer available?