1. biolab
  2. Untitled project
  3. orange-text


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)

  • Participants
  • Parent commits 590fc77
  • Branches default

Comments (0)

Files changed (1)

File setup.py

View file
  • Ignore whitespace
                 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