mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
llvm12: apply workaround to lld cmake file (#6591)
related to issue #3749
This commit is contained in:
@@ -31,7 +31,7 @@ other than the ones listed above.
|
||||
HOMEPAGE="https://www.llvm.org/"
|
||||
COPYRIGHT="2003-2019 University of Illinois at Urbana-Champaign"
|
||||
LICENSE="Apache v2 with LLVM Exception"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-$portVersion/llvm-$portVersion.src.tar.xz"
|
||||
CHECKSUM_SHA256="7d9a8405f557cefc5a21bf5672af73903b64749d9bc3a50322239f56f34ffddf"
|
||||
SOURCE_DIR="llvm-$portVersion.src"
|
||||
@@ -594,6 +594,7 @@ INSTALL()
|
||||
# adjust cmake library paths because prepareInstalledDevelLibs moved them
|
||||
sed -i 's,\${_IMPORT_PREFIX}/lib/,\${_IMPORT_PREFIX}/develop/lib/,' \
|
||||
$libDir/cmake/clang/ClangTargets-release.cmake \
|
||||
$libDir/cmake/lld/LLDTargets-release.cmake \
|
||||
$libDir/cmake/llvm/LLVMExports-release.cmake
|
||||
|
||||
mv $prefix/include/* $includeDir/
|
||||
|
||||
Reference in New Issue
Block a user