]> granicus.if.org Git - libjpeg-turbo/commitdiff
Update MinGW Linux build recipe
authorDRC <information@libjpeg-turbo.org>
Sat, 6 Feb 2016 18:17:40 +0000 (12:17 -0600)
committerDRC <information@libjpeg-turbo.org>
Sat, 6 Feb 2016 18:17:40 +0000 (12:17 -0600)
BUILDING.md

index 9075c183f48283391952b7dd15a29601fccea5e1..e27bff226810ac1af6994bba980b4edfe1dc6c7e 100644 (file)
@@ -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