Author: Amaury Forgeot d'Arc <[email protected]>
Branch:
Changeset: r46501:3c9abdf18264
Date: 2011-08-12 01:06 +0200
http://bitbucket.org/pypy/pypy/changeset/3c9abdf18264/
Log: The dl library can't possibly work on Windows
diff --git a/pypy/rpython/tool/rffi_platform.py
b/pypy/rpython/tool/rffi_platform.py
--- a/pypy/rpython/tool/rffi_platform.py
+++ b/pypy/rpython/tool/rffi_platform.py
@@ -780,14 +780,16 @@
from pypy.translator.platform import platform
if sys.platform == 'win32':
library_dir = 'Release'
+ libraries = ['gc']
includes=['gc.h']
else:
library_dir = ''
+ libraries = ['gc', 'dl']
includes=['gc/gc.h']
eci = ExternalCompilationInfo(
platform=platform,
includes=includes,
- libraries=['gc', 'dl'],
+ libraries=libraries,
)
return configure_external_library(
'gc', eci,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit