From ad0998904789742f4a6a89e74c902486079a5675 Mon Sep 17 00:00:00 2001
From: "alexandr.kravchenko" <alexander.kravchenko@demlabs.net>
Date: Wed, 28 Oct 2020 20:38:21 +0500
Subject: [PATCH] Placed libicu to static inclusion

---
 CellFrameDashboard.pro                                  | 5 -----
 CellFrameDashboardGUI/CellFrameDashboardGUI.pro         | 5 +++++
 CellFrameDashboardService/CellFrameDashboardService.pro | 5 +++++
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/CellFrameDashboard.pro b/CellFrameDashboard.pro
index 83f28a1..d235244 100755
--- a/CellFrameDashboard.pro
+++ b/CellFrameDashboard.pro
@@ -16,9 +16,4 @@ unix: !mac : !android {
     share_target.files = debian/share/*
     share_target.path = /opt/cellframe-dashboard/share/
     INSTALLS += share_target
-    BUILD_FLAG = static
-}
-
-defined(BUILD_FLAG,var){
-    LIBS += -L/usr/lib/icu-static -licuuc -licui18n -licudata
 }
diff --git a/CellFrameDashboardGUI/CellFrameDashboardGUI.pro b/CellFrameDashboardGUI/CellFrameDashboardGUI.pro
index 584e6a1..7ffd7be 100755
--- a/CellFrameDashboardGUI/CellFrameDashboardGUI.pro
+++ b/CellFrameDashboardGUI/CellFrameDashboardGUI.pro
@@ -97,4 +97,9 @@ unix: !mac : !android {
     gui_target.files = $${BRAND}
     gui_target.path = /opt/cellframe-dashboard/bin/
     INSTALLS += gui_target
+    BUILD_FLAG = static
+}
+
+defined(BUILD_FLAG,var){
+    LIBS += -L/usr/lib/icu-static -licuuc -licui18n -licudata
 }
diff --git a/CellFrameDashboardService/CellFrameDashboardService.pro b/CellFrameDashboardService/CellFrameDashboardService.pro
index 738fbd5..7c88da1 100755
--- a/CellFrameDashboardService/CellFrameDashboardService.pro
+++ b/CellFrameDashboardService/CellFrameDashboardService.pro
@@ -72,6 +72,11 @@ unix: !mac : !android {
     service_target.files = $${BRAND}Service
     service_target.path = /opt/cellframe-dashboard/bin/
     INSTALLS += service_target
+    BUILD_FLAG = static
+}
+
+defined(BUILD_FLAG,var){
+    LIBS += -L/usr/lib/icu-static -licuuc -licui18n -licudata
 }
 
 RESOURCES += \
-- 
GitLab