mirror of https://github.com/python/cpython
Fix for issue #7998: pythonw didn't work when --with-framework-name was
specified
This commit is contained in:
parent
4e62949217
commit
2a4ab81633
|
@ -114,7 +114,7 @@ install_versionedtools:
|
||||||
|
|
||||||
|
|
||||||
pythonw: $(srcdir)/Tools/pythonw.c Makefile
|
pythonw: $(srcdir)/Tools/pythonw.c Makefile
|
||||||
$(CC) $(LDFLAGS) -o $@ $(srcdir)/Tools/pythonw.c -I.. -I$(srcdir)/../Include ../$(PYTHONFRAMEWORK).framework/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
|
$(CC) $(LDFLAGS) -DPYTHONFRAMEWORK='"$(PYTHONFRAMEWORK)"' -o $@ $(srcdir)/Tools/pythonw.c -I.. -I$(srcdir)/../Include ../$(PYTHONFRAMEWORK).framework/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
|
||||||
|
|
||||||
install_PythonLauncher:
|
install_PythonLauncher:
|
||||||
cd PythonLauncher && make install DESTDIR=$(DESTDIR)
|
cd PythonLauncher && make install DESTDIR=$(DESTDIR)
|
||||||
|
|
|
@ -79,7 +79,7 @@ static char* get_python_path(void)
|
||||||
if (end[1] == '.') {
|
if (end[1] == '.') {
|
||||||
end++;
|
end++;
|
||||||
}
|
}
|
||||||
strcpy(end, "Resources/Python.app/Contents/MacOS/Python");
|
strcpy(end, "Resources/Python.app/Contents/MacOS/" PYTHONFRAMEWORK);
|
||||||
|
|
||||||
return g_path;
|
return g_path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue