mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
qt6_tools: fix libclang path
This commit is contained in:
@@ -6,7 +6,7 @@ COPYRIGHT="2015-2023 The Qt Company Ltd."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU LGPL v3
|
||||
GNU FDL v1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qttools-everywhere-src-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="4e9feebc142bbb6e453e1dc3277e09ec45c8ef081b5ee2a029e6684b5905ba99"
|
||||
SOURCE_DIR="qttools-everywhere-src-$portVersion"
|
||||
@@ -126,8 +126,6 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
local LLVM_INSTALL_DIR=$(llvm-config --prefix)
|
||||
|
||||
ninja -C build install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
@@ -173,8 +171,8 @@ INSTALL()
|
||||
done
|
||||
|
||||
mkdir -p $libDir/Qt6/lib
|
||||
cp -f $LLVM_INSTALL_DIR/$relativeDevelopLibDir/libclang.so.17 $libDir/Qt6/lib
|
||||
cp -f $LLVM_INSTALL_DIR/$relativeDevelopLibDir/libclang-cpp.so.17 $libDir/Qt6/lib
|
||||
cp -f `finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/libclang.so.17 $libDir/Qt6/lib
|
||||
cp -f `finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/libclang-cpp.so.17 $libDir/Qt6/lib
|
||||
strip -s $libDir/Qt6/lib/libclang*
|
||||
|
||||
cd $libDir
|
||||
|
||||
Reference in New Issue
Block a user