Initialize the program name before adding shared library resources (Just).
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 8fac6f0..24bcd77 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -201,6 +201,7 @@
 	
 #ifdef USE_MAC_SHARED_LIBRARY
 	/* Add the shared library to the stack of resource files */
+	(void)PyMac_init_process_location();
 	PyMac_AddLibResources();
 #endif