Difference between revisions of "Compiling ScummVM/MinGW"

Jump to navigation Jump to search
no edit summary
Line 277: Line 277:
=== fribidi ===
=== fribidi ===


Unzip the fribidi archive in a folder, open MSYS, go to the fribidi folder and issue these commands to compile and install the library:
Unzip the fribidi archive in a folder, open MSYS, go to the fribidi folder and apply the following patch:
 
<syntaxhighlight lang="diff">
--- fribidi.pc.in.orig  2020-07-05 20:17:23 +0100
+++ fribidi.pc.in      2020-08-30 17:17:43 +0100
@@ -9,5 +9,4 @@
Description: Unicode Bidirectional Algorithm Library
Version: @VERSION@
Libs: -L${libdir} -lfribidi
-Cflags: -I${includedir}/@PACKAGE@
-CFLAGS.private: -DFRIBIDI_LIB_STATIC
+Cflags: -I${includedir}/@PACKAGE@ -DFRIBIDI_LIB_STATIC
</syntaxhighlight>
 
Then issue these commands to compile and install the library:


  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
271

edits

Navigation menu