We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f4c67a commit 8496477Copy full SHA for 8496477
apple/do-compile/bluray.sh
@@ -92,6 +92,6 @@ pc_file="$XC_BUILD_PREFIX/lib/pkgconfig/libbluray.pc"
92
sed -i "" '/Requires.private/d' "$pc_file"
93
# find line number
94
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]}'
+xml_lib=$(echo $(xml2-config --libs) | awk '{len=split($0,a," "); for(n=2;n<=len;n++)printf " %s",a[n]}')
96
# line n append " -lxml2 -lz -lpthread -licucore -lm"
97
sed -i "" "$n s/$/&$xml_lib/" "$pc_file"
0 commit comments