summarylogtreecommitdiffstats
path: root/0001-Ensure-static-3rdparty-libs-are-linked-correctly.patch
blob: 98dc7c3d26f1ef8e6f05539338947d76113cde29 (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 701a4e8a49e6aa78eba9debb2ccedbb4f5f26609 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 dec1149b..ad57a5c5 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.21.0