PKGBUILDs/qt5-location/mingw-w64/0001-Ensure-static-3rdparty...

28 lines
939 B
Diff
Raw Normal View History

2020-01-28 21:12:38 +01:00
From 0fd1be73c7360f39bf373507e8aabe12a99aba26 Mon Sep 17 00:00:00 2001
2016-12-20 23:05:26 +01:00
From: Martchus <martchus@gmx.net>
Date: Thu, 22 Dec 2016 22:30:59 +0100
2017-12-08 19:49:53 +01:00
Subject: [PATCH] Ensure static 3rdparty libs are linked correctly
2016-12-20 23:05:26 +01:00
2017-06-02 18:20:04 +02:00
Not sure whether this is still required in Qt 5.9.0
2016-12-20 23:05:26 +01:00
---
2017-06-02 18:20:04 +02:00
src/imports/location/location.pro | 3 +++
1 file changed, 3 insertions(+)
2016-12-20 23:05:26 +01:00
diff --git a/src/imports/location/location.pro b/src/imports/location/location.pro
index 40605806..fa82a012 100644
2016-12-20 23:05:26 +01:00
--- a/src/imports/location/location.pro
+++ b/src/imports/location/location.pro
2017-06-02 18:20:04 +02:00
@@ -5,6 +5,9 @@ SOURCES += \
2016-12-20 23:05:26 +01:00
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()
2017-06-02 18:20:04 +02:00
+
2016-12-20 23:05:26 +01:00
OTHER_FILES += \
plugin.json \
2017-06-02 18:20:04 +02:00
qmldir
2016-12-20 23:05:26 +01:00
--
2020-04-02 12:52:46 +02:00
2.26.0
2016-12-20 23:05:26 +01:00