diff --git a/setup/extensions.py b/setup/extensions.py index 9e6e2d2ba6..7b2d7dfed0 100644 --- a/setup/extensions.py +++ b/setup/extensions.py @@ -174,7 +174,7 @@ extensions = [ Extension('bzzdec', ['calibre/ebooks/djvu/bzzdecoder.c'], - inc_dirs=['calibre/utils/chm'] # For stdint.h + inc_dirs=(['calibre/utils/chm'] if iswindows else []) # For stdint.h ), Extension('podofo',