llvm18: libunwind is in $libDir too on x86

Installing: /packages/llvm18_x86-18.1.7-3/.self/lib/x86/libunwind.so.1.0
This commit is contained in:
Jérôme Duval
2024-09-03 11:06:51 +02:00
committed by GitHub
parent 6df398501e
commit 15018de5cf

View File

@@ -695,13 +695,8 @@ INSTALL()
libLLVM* \
libLTO \
liblld* \
libRemarks
oldLibDir=$libDir
libDir=$prefix/lib
prepareInstalledDevelLibs \
libRemarks \
libunwind
libDir=$oldLibDir
# adjust cmake library paths because prepareInstalledDevelLibs moved them
sed -i 's,\${_IMPORT_PREFIX}/lib/,\${_IMPORT_PREFIX}/develop/lib/,' \
@@ -768,7 +763,7 @@ INSTALL()
# libunwind package
packageEntries libunwind \
$prefix/lib/libunwind*
$libDir/libunwind*
packageEntries libunwind_devel \
$developLibDir/libunwind* \