Message171970
Since I expect it may be some time before the next Python release is out, ISTM a temporary workaround would be to add a line following line 192 of Lib\distutils\command\build_ext.py, which reads
self.library_dirs.append(os.path.join(sys.exec_prefix, 'libs'))
The new line should read
self.library_dirs.append(os.path.join(sys.base_exec_prefix, 'libs'))
Which will result in adding both directories to the library search path. This is a little untidy in the case when you're not in a venv, but it should still work. With that change, the link command now looks like
C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\temp\venv\libs /LIBPATH:C:\Python33\libs /LIBPATH:C:\Python33 /LIBPATH:C:\temp\venv\PCbuild /EXPORT:PyInit__regex build\temp.win32-3.3\Release\Python3\_regex.obj build\temp.win32-3.3\Release\Python3\_regex_unicode.obj
/OUT:build\lib.win32-3.3\_regex.pyd /IMPLIB:build\temp.win32-3.3\Release\Python3\_regex.lib /MANIFESTFILE:build\temp.win32-3.3\Release\Python3\_regex.pyd.manifest
and the command succeeds. |
|
Date |
User |
Action |
Args |
2012-10-04 16:29:40 | vinay.sajip | set | recipients:
+ vinay.sajip, carljm, msmhrt |
2012-10-04 16:29:40 | vinay.sajip | set | messageid: <1349368180.49.0.768063876757.issue16116@psf.upfronthosting.co.za> |
2012-10-04 16:29:40 | vinay.sajip | link | issue16116 messages |
2012-10-04 16:29:39 | vinay.sajip | create | |
|