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

Skip to content

Commit b366cda

Browse files
Merged revisions 78755 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r78755 | ronald.oussoren | 2010-03-07 10:04:06 +0100 (Sun, 07 Mar 2010) | 3 lines Fix for issue #7998: pythonw didn't work when --with-framework-name was specified ........
1 parent 57de4c4 commit b366cda

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ install_versionedtools:
111111

112112

113113
pythonw: $(srcdir)/Tools/pythonw.c Makefile
114-
$(CC) $(LDFLAGS) -o $@ $(srcdir)/Tools/pythonw.c -I.. -I$(srcdir)/../Include ../$(PYTHONFRAMEWORK).framework/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
114+
$(CC) $(LDFLAGS) -DPYTHONFRAMEWORK='"$(PYTHONFRAMEWORK)"' -o $@ $(srcdir)/Tools/pythonw.c -I.. -I$(srcdir)/../Include ../$(PYTHONFRAMEWORK).framework/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
115115

116116
install_PythonLauncher:
117117
cd PythonLauncher && make install DESTDIR=$(DESTDIR)

Mac/Tools/pythonw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static char* get_python_path(void)
8181
if (end[1] == '.') {
8282
end++;
8383
}
84-
strcpy(end, "Resources/Python.app/Contents/MacOS/Python");
84+
strcpy(end, "Resources/Python.app/Contents/MacOS/" PYTHONFRAMEWORK);
8585

8686
return g_path;
8787
}

0 commit comments

Comments
 (0)