Skip to content

Commit 8496477

Browse files
committed
fix bluray pc file again
1 parent 6f4c67a commit 8496477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/do-compile/bluray.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ pc_file="$XC_BUILD_PREFIX/lib/pkgconfig/libbluray.pc"
9292
sed -i "" '/Requires.private/d' "$pc_file"
9393
# find line number
9494
n=$(grep -n 'Libs.private' "$pc_file" | cut -d: -f1)
95-
xml_lib=echo $(xml2-config --libs) | awk '{len=split($0,a," "); for(n=2;n<=len;n++)printf " %s",a[n]}'
95+
xml_lib=$(echo $(xml2-config --libs) | awk '{len=split($0,a," "); for(n=2;n<=len;n++)printf " %s",a[n]}')
9696
# line n append " -lxml2 -lz -lpthread -licucore -lm"
9797
sed -i "" "$n s/$/&$xml_lib/" "$pc_file"

0 commit comments

Comments
 (0)