aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Zihao <all_but_last@163.com>2022-08-26 23:45:38 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-02 21:07:40 +0000
commitfa7840db18ef7a0fa72ec735205b3e2a35552124 (patch)
tree1c91b94853f89a2d603153dbfec82998c2c6cca8
parenta0438c482354ca909efc1fd94e8810c2d5b185d3 (diff)
shiboken6: Use the full path of libdir in pkg-config file
"libdir" in shiboken6.pc is the relative path to the install prefix. Fix it to the full path of directory. Fixes: PYSIDE-2040 Change-Id: I5caa54813e2104b7ebd9163ba2c5da781ac28919 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 855aaa252bdba645af19a11ea887befe06febacd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/shiboken6/data/shiboken6.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/data/shiboken6.pc.in b/sources/shiboken6/data/shiboken6.pc.in
index d05fe8991..3ba422627 100644
--- a/sources/shiboken6/data/shiboken6.pc.in
+++ b/sources/shiboken6/data/shiboken6.pc.in
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@LIB_INSTALL_DIR@
+libdir=@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@
includedir=@CMAKE_INSTALL_PREFIX@/include/shiboken6
python_interpreter=@PYTHON_EXECUTABLE@
python_include_dir=@PYTHON_INCLUDE_DIRS@