diff options
Diffstat (limited to 'lib/README.md')
-rw-r--r-- | lib/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/README.md b/lib/README.md index e3fdbf3..a705de6 100644 --- a/lib/README.md +++ b/lib/README.md @@ -59,6 +59,10 @@ It's necessary to include all `*.h` files present in `/lib` together with `lz4_a DLL can be created using MinGW+MSYS with the `make liblz4` command. This command creates `dll\liblz4.dll` and the import library `dll\liblz4.lib`. +To override the `dlltool` command when cross-compiling on Linux, just set the `DLLTOOL` variable. Example of cross compilation on Linux with mingw-w64 64 bits: +``` +make BUILD_STATIC=no CC=x86_64-w64-mingw32-gcc DLLTOOL=x86_64-w64-mingw32-dlltool OS=Windows_NT +``` The import library is only required with Visual C++. The header files `lz4.h`, `lz4hc.h`, `lz4frame.h` and the dynamic library `dll\liblz4.dll` are required to compile a project using gcc/MinGW. |