# HG changeset patch # User Simon Ye # Date 1428071256 14400 # Fri Apr 03 10:27:36 2015 -0400 # Branch sqlite_local # Node ID 2614223876c63caa09033ff6da521b50930a16a6 # Parent 5795e7a85aee968daffd7b51e7651aa6fec2dc0c Determine sqlite inc/lib path by parsing flags in linux as well. diff -r 5795e7a85aee -r 2614223876c6 setup.py --- a/setup.py Fri Apr 03 15:24:33 2015 +0300 +++ b/setup.py Fri Apr 03 10:27:36 2015 -0400 @@ -550,7 +550,7 @@ if host_platform == 'hp-ux11': lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32'] - if host_platform == 'darwin': + if host_platform == 'darwin' or 'linux' in host_platform: # This should work on any unixy platform ;-) # If the user has bothered specifying additional -I and -L flags # in OPT and LDFLAGS we might as well use them here.