From: DRC Date: Sat, 6 Feb 2016 18:17:40 +0000 (-0600) Subject: Update MinGW Linux build recipe X-Git-Tag: 1.4.90~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ff67fdb24f5f101a1a72e6614dcc1688653542c;p=libjpeg-turbo Update MinGW Linux build recipe --- diff --git a/BUILDING.md b/BUILDING.md index 9075c18..e27bff2 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -734,11 +734,12 @@ mingw64-i686-gcc-g++ packages (and their dependencies) must be installed. ### MinGW Build on Linux cd {build_directory} - CC={mingw_binary_path}/i386-mingw32-gcc \ + CC={mingw_binary_path}/i686-pc-mingw32-gcc \ cmake -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=Windows \ - -DCMAKE_AR={mingw_binary_path}/i386-mingw32-ar \ - -DCMAKE_RANLIB={mingw_binary_path}/i386-mingw32-ranlib \ - {source_directory} + -DCMAKE_RC_COMPILER={mingw_binary_path}/i686-pc-mingw32-windres \ + -DCMAKE_AR={mingw_binary_path}/i686-pc-mingw32-ar \ + -DCMAKE_RANLIB={mingw_binary_path}/i686-pc-mingw32-ranlib \ + {source_directory} make