[pypy-commit] cffi default: Ah, we don't usually need the full path here

arigo pypy.commits at gmail.com
Tue Oct 2 04:09:14 EDT 2018


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r3167:316d5bc342b5
Date: 2018-10-02 10:09 +0200
http://bitbucket.org/cffi/cffi/changeset/316d5bc342b5/

Log:	Ah, we don't usually need the full path here

diff --git a/doc/source/embedding.rst b/doc/source/embedding.rst
--- a/doc/source/embedding.rst
+++ b/doc/source/embedding.rst
@@ -377,7 +377,7 @@
   unsuitable for embedding if the embedder uses ``dlopen(...,
   RTLD_LOCAL)``.  You get an ``undefined symbol`` error.  See
   `issue #264`__.  A workaround is to first call
-  ``dlopen("/path/to/libpythonX.Y.so", RTLD_GLOBAL)``, which will
+  ``dlopen("libpythonX.Y.so", RTLD_LAZY|RTLD_GLOBAL)``, which will
   force ``libpythonX.Y.so`` to be loaded first.
 
 .. __: https://bitbucket.org/cffi/cffi/issues/264/


More information about the pypy-commit mailing list