aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Zihao <all_but_last@163.com>2022-08-26 23:45:38 +0800
committerZhu Zihao <all_but_last@163.com>2022-09-02 19:00:39 +0000
commit855aaa252bdba645af19a11ea887befe06febacd (patch)
tree86dafc2942ee0c33c88f5e1ca835918217909709
parent5b470a98460d33567d14876eae8e1c55947f56d9 (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 Pick-to: 6.3 6.2 Change-Id: I5caa54813e2104b7ebd9163ba2c5da781ac28919 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-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@