Fix for issue #7998: pythonw didn't work when --with-framework-name was
specified
diff --git a/Mac/Tools/pythonw.c b/Mac/Tools/pythonw.c
index 991a738..448e324 100644
--- a/Mac/Tools/pythonw.c
+++ b/Mac/Tools/pythonw.c
@@ -79,7 +79,7 @@
 	if (end[1] == '.') {
 		end++;
 	}
-	strcpy(end, "Resources/Python.app/Contents/MacOS/Python");
+	strcpy(end, "Resources/Python.app/Contents/MacOS/" PYTHONFRAMEWORK);
 
 	return g_path;
 }