[pypy-commit] pypy reflex-support: fix link issue with CINT backend
wlav
noreply at buildbot.pypy.org
Fri Sep 9 02:49:24 CEST 2011
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r47178:b3c360704811
Date: 2011-09-08 17:50 -0700
http://bitbucket.org/pypy/pypy/changeset/b3c360704811/
Log: fix link issue with CINT backend
diff --git a/pypy/module/cppyy/capi/cint_capi.py b/pypy/module/cppyy/capi/cint_capi.py
--- a/pypy/module/cppyy/capi/cint_capi.py
+++ b/pypy/module/cppyy/capi/cint_capi.py
@@ -25,12 +25,15 @@
_cintdll = rdynload.dlopen(ll_libname, rdynload.RTLD_GLOBAL | rdynload.RTLD_NOW)
with rffi.scoped_str2charp('libCore.so') as ll_libname:
_coredll = rdynload.dlopen(ll_libname, rdynload.RTLD_GLOBAL | rdynload.RTLD_NOW)
+with rffi.scoped_str2charp('libMathCore.so') as ll_libname:
+ _coredll = rdynload.dlopen(ll_libname, rdynload.RTLD_GLOBAL | rdynload.RTLD_NOW)
eci = ExternalCompilationInfo(
separate_module_files=[srcpath.join("cintcwrapper.cxx")],
include_dirs=[incpath] + rootincpath,
includes=["cintcwrapper.h"],
library_dirs=rootlibpath,
+ link_extra=["-lMathCore", "-lCore", "-lCint"],
use_cpp_linker=True,
)
More information about the pypy-commit
mailing list