summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-07-31 09:38:01 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-07-31 09:38:01 (GMT)
commit87c485c1ad771fb9853bca572c493cc4acc0b7cb (patch)
tree516de8d29fb453764c645793302c90b9b6c807a7 /Mac/Python
parent2e6445caa67955fc1f627df9655e1a49b8f3fdae (diff)
downloadcpython-87c485c1ad771fb9853bca572c493cc4acc0b7cb.zip
cpython-87c485c1ad771fb9853bca572c493cc4acc0b7cb.tar.gz
cpython-87c485c1ad771fb9853bca572c493cc4acc0b7cb.tar.bz2
Initialize the program name before adding shared library resources (Just).
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macmain.c1
1 files changed, 1 insertions, 0 deletions
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 @@ init_common(int *argcp, char ***argvp, int embedded)
#ifdef USE_MAC_SHARED_LIBRARY
/* Add the shared library to the stack of resource files */
+ (void)PyMac_init_process_location();
PyMac_AddLibResources();
#endif