Changeset 434
- Timestamp:
- Mon Feb 25 06:20:30 2008
- Files:
-
- branches/dl/source/common/launch.c (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
branches/dl/source/common/launch.c
r411 r434 372 372 /* Determine the path */ 373 373 #ifdef __APPLE__ 374 sprintf(dllpath, "%sPython", f_homepath); 374 sprintf(dllpath, "%sPython", 375 f_workpath ? f_workpath : f_homepath); 375 376 #else 376 sprintf(dllpath, "%slibpython%01d.%01d.so.1.0", f_homepath, 377 ntohl(f_cookie.pyvers) / 10, ntohl(f_cookie.pyvers) % 10); 377 sprintf(dllpath, "%slibpython%01d.%01d.so.1.0", 378 f_workpath ? f_workpath : f_homepath, 379 ntohl(f_cookie.pyvers) / 10, ntohl(f_cookie.pyvers) % 10); 378 380 #endif 379 381
