We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59916e2 commit 4db0954Copy full SHA for 4db0954
swig/python/modify_cpp_files.cmake
@@ -66,4 +66,8 @@ string(REPLACE "if (--interpreter_counter != 0) // another sub-interpreter may s
66
"/* Even Rouault / GDAL hack for SWIG >= 4.1 related to objects not being freed. See swig/python/modify_cpp_files.cmake for more details */\nif( 1 )"
67
_CONTENTS "${_CONTENTS}")
68
69
+# Works around https://github.com/swig/swig/issues/3061
70
+string(REPLACE "# define SWIG_HEAPTYPES" "// Below is disabled because of https://github.com/swig/swig/issues/3061\n// # define SWIG_HEAPTYPES"
71
+ _CONTENTS "${_CONTENTS}")
72
+
73
file(WRITE ${FILE} "${_CONTENTS}")
0 commit comments