diff options
Diffstat (limited to 'python-pycxx-7-change-include-paths.patch')
-rw-r--r-- | python-pycxx-7-change-include-paths.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/python-pycxx-7-change-include-paths.patch b/python-pycxx-7-change-include-paths.patch new file mode 100644 index 000000000000..4bb62d456706 --- /dev/null +++ b/python-pycxx-7-change-include-paths.patch @@ -0,0 +1,28 @@ +diff --git a/Src/cxxextensions.c b/Src/cxxextensions.c +index 28a8e1d..cfab556 100644 +--- a/Src/cxxextensions.c ++++ b/Src/cxxextensions.c +@@ -37,7 +37,7 @@ + #include "CXX/WrapPython.h" + + #if PY_MAJOR_VERSION == 2 +-#include "Src/Python2/cxxextensions.c" ++#include "Python2/cxxextensions.c" + #else +-#include "Src/Python3/cxxextensions.c" ++#include "Python3/cxxextensions.c" + #endif +diff --git a/Src/cxxsupport.cxx b/Src/cxxsupport.cxx +index 1f2fb43..946e60d 100644 +--- a/Src/cxxsupport.cxx ++++ b/Src/cxxsupport.cxx +@@ -37,7 +37,7 @@ + #include "CXX/WrapPython.h" + + #if PY_MAJOR_VERSION == 2 +-#include "Src/Python2/cxxsupport.cxx" ++#include "Python2/cxxsupport.cxx" + #else +-#include "Src/Python3/cxxsupport.cxx" ++#include "Python3/cxxsupport.cxx" + #endif |