[pypy-commit] pypy default: Finish the commit - a hack to disable libffi.a when we're shared and use

fijal noreply at buildbot.pypy.org
Wed May 8 17:35:55 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r63912:f58273adb93e
Date: 2013-05-08 17:34 +0200
http://bitbucket.org/pypy/pypy/changeset/f58273adb93e/

Log:	Finish the commit - a hack to disable libffi.a when we're shared and
	use the .so instead (but without a warning)

diff --git a/rpython/rlib/clibffi.py b/rpython/rlib/clibffi.py
--- a/rpython/rlib/clibffi.py
+++ b/rpython/rlib/clibffi.py
@@ -79,6 +79,8 @@
         pre_include_bits = []
 
     def setup_after_config(config):
+        # a crude hack - libffi.a might be compiled without -fPIC on certain
+        # platforms, just disable it when we've passed --shared
         if config.translation.shared:
             eci.link_files = []
 


More information about the pypy-commit mailing list