Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r3207:32960b92c175
Date: 2019-01-31 12:47 +0100
http://bitbucket.org/cffi/cffi/changeset/32960b92c175/

Log:    tweak docs

diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst
--- a/doc/source/cdef.rst
+++ b/doc/source/cdef.rst
@@ -445,8 +445,9 @@
 If the ``pkg-config`` program is not installed or does not know about
 the requested library, the call fails with ``cffi.PkgConfigError``.  If
 necessary, you can catch this error and try to call ``set_source()``
-directly (or, equivalently, call ``set_source_pkgconfig()`` with an
-empty list as the ``pkgconfig_libs`` argument).
+directly.  (Ideally, you should also do that if the ``ffibuilder``
+instance has no method ``set_source_pkgconfig()``, to support older
+versions of cffi.)
 
 
 Letting the C compiler fill the gaps
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to