summarylogtreecommitdiffstats
path: root/0001-Ensure-static-3rdparty-libs-are-linked-correctly.patch
blob: cbe90c57c7014bbf5abba7129239cb9571f096e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 0fd1be73c7360f39bf373507e8aabe12a99aba26 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 22 Dec 2016 22:30:59 +0100
Subject: [PATCH] Ensure static 3rdparty libs are linked correctly

Not sure whether this is still required in Qt 5.9.0
---
 src/imports/location/location.pro | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/imports/location/location.pro b/src/imports/location/location.pro
index 40605806..fa82a012 100644
--- a/src/imports/location/location.pro
+++ b/src/imports/location/location.pro
@@ -5,6 +5,9 @@ SOURCES += \
 
 load(qml_plugin)
 
+LIBS_PRIVATE += -L$$MODULE_BASE_OUTDIR/lib -lclip2tri$$qtPlatformTargetSuffix() -lclipper$$qtPlatformTargetSuffix() -lpoly2tri$$qtPlatformTargetSuffix()
+QMAKE_LIBS_PRIVATE += -lclip2tri$$qtPlatformTargetSuffix() -lclipper$$qtPlatformTargetSuffix() -lpoly2tri$$qtPlatformTargetSuffix()
+
 OTHER_FILES += \
     plugin.json \
     qmldir
-- 
2.25.0