Thanks to visit codestin.com Credit goes to github.com
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 31d02ef commit 32f6736Copy full SHA for 32f6736
1 file changed
setupext.py
@@ -238,6 +238,10 @@ def add_pygtk_flags(module):
238
module.extra_link_args.extend(
239
[flag for flag in linkerFlags if not
240
(flag.startswith('-l') or flag.startswith('-L'))])
241
+
242
+ # visual studio doesn't need the math library
243
+ if sys.platform=='win32' and win32_compiler != 'mingw32' and 'm' in module.libraries:
244
+ module.libraries.remove('m')
245
246
247
def find_wx_config():
0 commit comments