Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e0e44b

Browse filesBrowse files
dopplershiftMeeseeksDev[bot]
authored andcommitted
Backport PR #10484: Add libm when building Qhull.
1 parent 584420c commit 8e0e44b
Copy full SHA for 8e0e44b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎setupext.py

Copy file name to clipboardExpand all lines: setupext.py
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.