From 302ff0293e2524f6c7481c1dd3b836a9062b0f82 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 3 Dec 2024 14:40:31 +0800 Subject: [PATCH] sed -i "s/\-rdynamic//g" CMakeFiles/tint2.dir/link.txt --- compile/src/v-tint2/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compile/src/v-tint2/build.sh b/compile/src/v-tint2/build.sh index 6eafc84..fffeff7 100644 --- a/compile/src/v-tint2/build.sh +++ b/compile/src/v-tint2/build.sh @@ -277,6 +277,10 @@ function tint2(){ # # ex-revert: libbrotlicommon.so|libbrotlidec.so|liblzma.so|libbz2.so|libxml2.so # find /usr/lib /usr/local/lib -type f |egrep "\-ex$" |egrep "libbrotlicommon.so|libbrotlidec.so|liblzma.so|libbz2.so|libxml2.so" |while read one; do echo $one; dst=$(echo $one |sed "s/\-ex//g"); mv $one $dst; done + # tint2-arm64-hk1box-staticOK: + sed -i "s/\-rdynamic//g" CMakeFiles/tint2.dir/link.txt + sed -i "s/dynamic/static/g" CMakeFiles/tint2.dir/link.txt + # make make # find /usr/lib /usr/local/lib -type f |egrep "\-ex$"