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 972cfc6

Browse filesBrowse files
committed
Add libdl on Linux systems.
Not linking with libdl causes errors when -z defs is in the linker flags.
1 parent 61085e1 commit 972cfc6
Copy full SHA for 972cfc6

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
@@ -1493,6 +1493,8 @@ def add_flags(self, ext):
14931493
if sys.platform == 'win32':
14941494
# PSAPI library needed for finding Tcl / Tk at run time
14951495
ext.libraries.extend(['psapi'])
1496+
elif sys.platform.startswith('linux'):
1497+
ext.libraries.extend(['dl'])
14961498

14971499

14981500
class BackendGtk(OptionalBackendPackage):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.