From 1f5c13ed12b8d13b74f01e7e19de2209695766d4 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 11 Feb 2010 23:46:46 -0800 Subject: [PATCH] Add stdc++ library to example (sometimes it seems to be required). --- src/userguide/wrapping_CPlusPlus.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} ) -- 2.26.2