[pypy-commit] pypy vmprof2: try a different approach to building against libunwind

fijal noreply at buildbot.pypy.org
Fri Apr 24 15:49:52 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof2
Changeset: r76924:4ece3460b60d
Date: 2015-04-24 15:49 +0200
http://bitbucket.org/pypy/pypy/changeset/4ece3460b60d/

Log:	try a different approach to building against libunwind

diff --git a/pypy/module/_vmprof/interp_vmprof.py b/pypy/module/_vmprof/interp_vmprof.py
--- a/pypy/module/_vmprof/interp_vmprof.py
+++ b/pypy/module/_vmprof/interp_vmprof.py
@@ -27,7 +27,7 @@
     include_dirs = [SRC],
     includes = ['vmprof.h', 'trampoline.h'],
     separate_module_files = [SRC.join('trampoline.asmgcc.s')],
-    libraries = ['unwind'],
+    link_extra = ['-Wl,-Bstatic', '-lunwind', '-Wl,-Bdynamic', '-llzma'],
     
     post_include_bits=["""
         void pypy_vmprof_init(void);


More information about the pypy-commit mailing list