Skip to content

Commit

Permalink
Umprove support for debian/kfreebsd (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
avalentino authored Oct 2, 2021
1 parent 6da6ef7 commit 892df24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libtiff/libtiff_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
if not os.path.isfile(include_tiff_h):
import glob
include_tiff_h = (glob.glob(os.path.join(sys.prefix, 'include',
'*linux-gnu', 'tiff.h')) +
'*linux*', 'tiff.h')) +
glob.glob(os.path.join(sys.prefix, 'include',
'*kfreebsd*', 'tiff.h')) +
[include_tiff_h])[0]
if not os.path.isfile(include_tiff_h):
# Base it off of the python called
Expand Down

0 comments on commit 892df24

Please sign in to comment.