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

Skip to content

Commit 87c485c

Browse files
committed
Initialize the program name before adding shared library resources (Just).
1 parent 2e6445c commit 87c485c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Mac/Python/macmain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ init_common(int *argcp, char ***argvp, int embedded)
201201

202202
#ifdef USE_MAC_SHARED_LIBRARY
203203
/* Add the shared library to the stack of resource files */
204+
(void)PyMac_init_process_location();
204205
PyMac_AddLibResources();
205206
#endif
206207

0 commit comments

Comments
 (0)