blob: 2e28bccd1b9b53adf8d5acdfcf4a941d61b70dae [file] [log] [blame]
From 7e8ba6ce7d71757825fec96011c29f1cd7940d89 Mon Sep 17 00:00:00 2001
From: Alexpux <alexey.pawlow@gmail.com>
Date: Wed, 19 Nov 2014 10:09:19 +0300
Subject: [PATCH 07/27] Use modern ICU libraries when link with system wide
ICU.
---
builds/posix/prefix.mingw | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/builds/posix/prefix.mingw b/builds/posix/prefix.mingw
index 04e0978aa9..7523670f6d 100644
--- a/builds/posix/prefix.mingw
+++ b/builds/posix/prefix.mingw
@@ -19,6 +19,10 @@
# 2003-Sep-27 BRS Removed IPSERVER after XNET is included
#
+ifeq ($(STD_ICU),true)
+ ICU_LIBS= -licuuc -licudt -licuin
+endif
+
# -Wno-unused-variable is used due to unused gpre generated variables
PROD_FLAGS=-O2 -DMINGW -Wall -Wshadow -Wundef -Wno-long-long -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-switch -fmessage-length=0 -Dlint -DWIN32_LEAN_AND_MEAN -MMD -mthreads
DEV_FLAGS=-ggdb -DMINGW -Wall -Wshadow -Wundef -Wno-long-long -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-switch -fmessage-length=0 -Dlint -DWIN32_LEAN_AND_MEAN -MMD -mthreads
--
2.13.0