2 Komitmen 7edadea8e1 ... d67a5b7152

Pembuat SHA1 Pesan Tanggal
  Niels Nesse d67a5b7152 Update readme to mention MinGW support 9 tahun lalu
  Niels Nesse 9a97b2990f Disable text rendering for windows builds 9 tahun lalu
2 mengubah file dengan 6 tambahan dan 2 penghapusan
  1. 2 2
      Readme.md
  2. 4 0
      configure.ac

+ 2 - 2
Readme.md

@@ -93,14 +93,14 @@ respectively.
 Building
 --------
 
-On GNU/Linux systems `glplatform` can be built with it's autotools build system.
+`glplatform` can be built with it's autotools build system with the following commands:
 
 	./autogen.sh
 	./configure <options>
 	make
 	make install
 
-On Windows systems `glplatform` can be built as a static library using the Visual Studio solution found in the `windows` folder.
+You can build `glplatform` for windows systems by placing a MinGW64 toolchain in the path and passing a host option such as `--host=x86_64-w64-mingw32` to configure.
 
 As a convienence `glplatform` comes with bindings pre-generated by `glbindify`. To rebuild them install `glbindify` and run the following commands
 in the `src/glbindings` folder:

+ 4 - 0
configure.ac

@@ -15,6 +15,10 @@ if test x$enable_math3d = x; then
 	enable_math3d="yes"
 fi
 
+if test $host_os = 'mingw32'; then
+	enable_text="no"
+fi
+
 AS_IF([ test $enable_text = yes ],
 	[PKG_CHECK_MODULES(FREETYPE2,freetype2 >= 2.53, [ enable_text="yes" ], [ enable_text="no" ])])