void-packages/srcpkgs/gsettings-qt/patches/0001-Fix-link-path-error.patch

25 lines
694 B
Diff

From: Iceyer <iceyers@gmail.com>
Date: Thu, 20 Jul 2017 16:01:55 +0800
Subject: Fix link path error
Forwarded: https://code.launchpad.net/~iceyers/gsettings-qt/fix-link-path
This patch would fix the FTBFS on Debian.
---
GSettings/gsettings-qt.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GSettings/gsettings-qt.pro b/GSettings/gsettings-qt.pro
index 218eeea..ffd9b5f 100644
--- GSettings/gsettings-qt.pro
+++ GSettings/gsettings-qt.pro
@@ -4,7 +4,7 @@ QT -= gui
CONFIG += qt plugin no_keywords link_pkgconfig
PKGCONFIG += gio-2.0
INCLUDEPATH += ../src .
-LIBS += -L../src -lgsettings-qt
+LIBS += -L$$(PWD)/../src -lgsettings-qt
TARGET = GSettingsQmlPlugin