aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_ext.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-12-23 09:59:01 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-12-23 09:59:01 -0500
commit3b434b5bd5a1e5e04461302850d0e2248cc828b1 (patch)
tree33e0e0c0920b05eb5a9897f3c8c980fb06631abd /setuptools/command/build_ext.py
parent8bedbb5ee574b2f005dd5f066638cb79dc90f0eb (diff)
downloadexternal_python_setuptools-3b434b5bd5a1e5e04461302850d0e2248cc828b1.tar.gz
external_python_setuptools-3b434b5bd5a1e5e04461302850d0e2248cc828b1.tar.bz2
external_python_setuptools-3b434b5bd5a1e5e04461302850d0e2248cc828b1.zip
Define if_dl using simple lambda.
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):