Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
compiling using msvc #27
For compiling with MSVC on win32, you have to remove the extra_compile_args, or better still replace it with one suited for MSVC like this one:
More information on those flags can be found here:
(not sure how you would go about detecting which compiler is going to be used by distutils - I guess checking for environment variables like VCINSTALLDIR is a good bet? or maybe checking if CL.exe is on the PATH but GCC isn't?)
lz4 fails to build on Windows on Travis:
If this library is still maintained it's easy to add AppVeyor configuration to run lz4 tests on Windows to prevent issues like this.