summaryrefslogtreecommitdiff
path: root/builds/unix
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2021-01-27 06:43:41 -0500
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-01-27 06:43:41 -0500
commitbb33f03a714332a56cfbdec49ea5635106fcbcec (patch)
treed76dac4f1dd5ce95c771427db8cf4f667b9fffe4 /builds/unix
parentc7cc947c0f3225a5b01e14456c65a8e3162dfd4c (diff)
downloadfreetype2-bb33f03a714332a56cfbdec49ea5635106fcbcec.tar.gz
* builds/windows/ftsystem.c: Add shared memory support on Windows.
Diffstat (limited to 'builds/unix')
-rw-r--r--builds/unix/configure.raw8
1 files changed, 7 insertions, 1 deletions
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index e8ccdeecf..c04b56085 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -202,7 +202,13 @@ if test "x${enable_mmap}" != "xno"; then
fi
if test "x${enable_mmap}" = "xno" \
-o "$ac_cv_func_mmap_fixed_mapped" != "yes"; then
- FTSYS_SRC='$(BASE_DIR)/ftsystem.c'
+ case
+ *-*-mingw*)
+ FTSYS_SRC='$(PLATFORM_DIR)/ftsystem.c'
+ ;;
+ *)
+ FTSYS_SRC='$(BASE_DIR)/ftsystem.c'
+ esac
else
FTSYS_SRC='$(PLATFORM_DIR)/ftsystem.c'