Changeset 436

Show
Ignore:
Timestamp:
Mon Feb 25 06:30:56 2008
Author:
danielevarrazzo
Message:

The Python library is found both in onedir and onefile mode.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/python2.5/source/common/launch.c

    r431 r436  
    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