From: Robert Bradshaw Date: Fri, 12 Feb 2010 07:46:46 +0000 (-0800) Subject: Add stdc++ library to example (sometimes it seems to be required). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f5c13ed12b8d13b74f01e7e19de2209695766d4;p=cython.git Add stdc++ library to example (sometimes it seems to be required). --- diff --git a/src/userguide/wrapping_CPlusPlus.rst b/src/userguide/wrapping_CPlusPlus.rst index 73fda925..5c302fa2 100644 --- a/src/userguide/wrapping_CPlusPlus.rst +++ b/src/userguide/wrapping_CPlusPlus.rst @@ -109,7 +109,7 @@ to add a keyword to your Extension construction statement, as in:: ["rectangle.pyx", "Rectangle.cpp"], # filename of our Cython source language="c++", # this causes Cython to create C++ source include_dirs=[...], # usual stuff - libraries=[...], # ditto + libraries=["stdc++", ...], # ditto extra_link_args=[...], # if needed cmdclass = {'build_ext': build_ext} )