Skip to content

Commit 892df24

Browse files
authored
Umprove support for debian/kfreebsd (#130)
1 parent 6da6ef7 commit 892df24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libtiff/libtiff_ctypes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@
9191
if not os.path.isfile(include_tiff_h):
9292
import glob
9393
include_tiff_h = (glob.glob(os.path.join(sys.prefix, 'include',
94-
'*linux-gnu', 'tiff.h')) +
94+
'*linux*', 'tiff.h')) +
95+
glob.glob(os.path.join(sys.prefix, 'include',
96+
'*kfreebsd*', 'tiff.h')) +
9597
[include_tiff_h])[0]
9698
if not os.path.isfile(include_tiff_h):
9799
# Base it off of the python called

0 commit comments

Comments
 (0)