Skip to content
Permalink
Browse files

Add libdl on Linux systems.

Not linking with libdl causes errors when -z defs is in the linker
flags.
  • Loading branch information...
QuLogic committed Jan 24, 2018
1 parent 61085e1 commit 972cfc6dbcfedd57eddf2100936ef812675493c3
Showing with 2 additions and 0 deletions.
  1. +2 −0 setupext.py
@@ -1493,6 +1493,8 @@ def add_flags(self, ext):
if sys.platform == 'win32':
# PSAPI library needed for finding Tcl / Tk at run time
ext.libraries.extend(['psapi'])
elif sys.platform.startswith('linux'):
ext.libraries.extend(['dl'])


class BackendGtk(OptionalBackendPackage):

0 comments on commit 972cfc6

Please sign in to comment.
You can’t perform that action at this time.