[pypy-commit] cffi default: Add 'sources', which can now be passed explicitly too.
arigo
noreply at buildbot.pypy.org
Tue Sep 4 10:23:25 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r912:fd3a0e5c6ab4
Date: 2012-09-04 10:23 +0200
http://bitbucket.org/cffi/cffi/changeset/fd3a0e5c6ab4/
Log: Add 'sources', which can now be passed explicitly too.
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -431,12 +431,14 @@
some advanced macros (see the example of ``getyx()`` in
`demo/_curses.py`_).
-* ``include_dirs``, ``define_macros``, ``undef_macros``, ``libraries``,
+* ``sources``, ``include_dirs``,
+ ``define_macros``, ``undef_macros``, ``libraries``,
``library_dirs``, ``extra_objects``, ``extra_compile_args``,
``extra_link_args`` (keyword arguments): these are used when
compiling the C code, and are passed directly to distutils_. You
typically need at least ``libraries=['foo']`` in order to link with
- ``libfoo.so`` or ``libfoo.so.X.Y``, or ``foo.dll`` on Windows. See
+ ``libfoo.so`` or ``libfoo.so.X.Y``, or ``foo.dll`` on Windows. The
+ ``sources`` is a list of extra .c files compiled and linked together. See
the distutils documentation for `more information about the other
arguments`__.
More information about the pypy-commit
mailing list