Ticket #42392: patch-setup_py
File patch-setup_py, 493 bytes (added by jul_bsd@…, 11 years ago) |
---|
Line | |
---|---|
1 | --- setup.py.orig 2014-03-02 14:53:04.000000000 -0500 |
2 | +++ setup.py 2014-03-02 14:54:45.000000000 -0500 |
3 | @@ -98,6 +98,9 @@ |
4 | if len(results) == 0: |
5 | results = glob.glob(os.path.join('/', 'usr', 'local', 'include', 'tsk*')) |
6 | |
7 | +if len(results) == 0: |
8 | + results = glob.glob(os.path.join(os.environ['TSK_HEADERS_PATH'], 'tsk*')) |
9 | + |
10 | # If the headers are not found in the usual places check the parent directory. |
11 | if len(results) == 0: |
12 | results = glob.glob(os.path.join('..', 'sleuthkit*', 'tsk*')) |