Skip to content

Commit

Permalink
Add defaults for MacOS X when no apxs.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Nov 14, 2017
1 parent 6614be8 commit 8e57570
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,18 @@ def get_apu_includes():

elif WITH_MACOSX_APACHE:
def get_apxs_config(name):
return ''
if name == 'BINDIR':
return '/usr/bin'
elif name == 'SBINDIR':
return '/usr/sbin'
elif name == 'LIBEXECDIR':
return '/usr/libexec/apache2'
elif name == 'PROGNAME':
return 'httpd'
elif name == 'SHLIBPATH_VAR':
return 'DYLD_LIBRARY_PATH'
else:
return ''

def get_apr_includes():
return ''
Expand Down

0 comments on commit 8e57570

Please sign in to comment.