summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 8329497..1275fbc 100644
--- a/setup.py
+++ b/setup.py
@@ -122,7 +122,8 @@ APXS = os.environ.get('APXS')
WITH_HTTPD_PACKAGE = False
if APXS is None:
- APXS = find_program(['mod_wsgi-apxs'])
+ APXS = find_program(['mod_wsgi-apxs'],
+ paths=[os.path.dirname(sys.executable)])
if APXS is not None:
WITH_HTTPD_PACKAGE = True