aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r--setuptools/command/build_ext.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py
index 684200ad..b30e6192 100644
--- a/setuptools/command/build_ext.py
+++ b/setuptools/command/build_ext.py
@@ -39,10 +39,7 @@ elif os.name != 'nt':
pass
-def if_dl(s):
- if have_rtld:
- return s
- return ''
+if_dl = lambda s: s if have_rtld else ''
class build_ext(_build_ext):