Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7ab08e

Browse files
authored
Merge pull request matplotlib#10536 from matplotlib/auto-backport-of-pr-10484
Backport PR matplotlib#10484 on branch v2.2.x
2 parents f368dcc + 8e0e44b commit e7ab08e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setupext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,8 @@ def add_flags(self, ext):
13331333
else:
13341334
ext.include_dirs.insert(0, 'extern')
13351335
ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c')))
1336+
if sysconfig.get_config_var('LIBM') == '-lm':
1337+
ext.libraries.extend('m')
13361338

13371339

13381340
class TTConv(SetupPackage):

0 commit comments

Comments
 (0)