Commits

Aleš Erjavec committed 006a0d7

- added link args to link libgcc and libstdc++ statically (when compiling with mingw the resulting .pyd file cannot find libgcc.dll when moved)

Comments (0)

Files changed (1)

                 extra_compile_args=extra_compile_args,
                 include_dirs=['.', 'source'],
                 define_macros=[('TMTNOZLIB','1'), ('NDEBUG', '1')],
-                language='c++'
+                language='c++',
+                extra_link_args=["-static-libgcc", "-static-libstdc++"] #TODO: this should only apply to mingw compiler
         )
 ]
 destDir="orange/add-ons/Text"