Author: Maciej Fijalkowski <[email protected]>
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);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit