Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: 
Changeset: r90960:078cbc790834
Date: 2017-04-05 09:17 +0200
http://bitbucket.org/pypy/pypy/changeset/078cbc790834/

Log:    Don't call configure if the libbacktrace library is not used. This
        is an attempt to fix the win32 build

diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -75,7 +75,8 @@
         os.chdir(olddir)
 
 def setup():
-    configure_libbacktrace()
+    if sys.platform.startswith('linux'):
+        configure_libbacktrace()
 
     eci_kwds['compile_extra'].append('-DRPYTHON_LL2CTYPES')
     platform.verify_eci(ExternalCompilationInfo(
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to