Author: Armin Rigo <ar...@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/ _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit