diff --git a/setup.py b/setup.py index bf272ba..824957d 100644 --- a/setup.py +++ b/setup.py @@ -465,15 +465,6 @@ EXTRA_COMPILE_FLAGS = (EXTRA_INCLUDES + CPPFLAGS + EXTRA_CPPFLAGS + CFLAGS + EXTRA_CFLAGS + APR_INCLUDES + APU_INCLUDES) EXTRA_LINK_ARGS = PYTHON_LDFLAGS + PYTHON_LDLIBS -# Force adding of LD_RUN_PATH for platforms that may need it. - -if os.name != 'nt': - LD_RUN_PATH = os.environ.get('LD_RUN_PATH', '') - LD_RUN_PATH += ':%s:%s' % (PYTHON_LIBDIR, PYTHON_CFGDIR) - LD_RUN_PATH = LD_RUN_PATH.lstrip(':') - - os.environ['LD_RUN_PATH'] = LD_RUN_PATH - # On MacOS X, recent versions of Apple's Apache do not support compiling # Apache modules with a target older than 10.8. This is because it # screws up Apache APR % formats for apr_time_t, which breaks daemon