File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 18
18
# when '-l all' will use blew default config:
19
19
apple_default_libs=" openssl opus dav1d dvdread freetype fribidi harfbuzz unibreak ass ffmpeg smb2 bluray"
20
20
21
+ android_default_libs=" openssl opus dav1d dvdread xml2 freetype fribidi harfbuzz unibreak fontconfig ass ffmpeg smb2 bluray"
22
+
21
23
export ios_default_libs=" $apple_default_libs "
22
24
export macos_default_libs=" $apple_default_libs "
23
25
export tvos_default_libs=" $apple_default_libs "
24
- export android_default_libs=" $apple_default_libs "
26
+ export android_default_libs=" $android_default_libs "
Original file line number Diff line number Diff line change @@ -29,8 +29,13 @@ do_lipo_lib() {
29
29
30
30
for arch in $archs ; do
31
31
local lib_dir=" $MR_PRODUCT_ROOT /$LIB_NAME -$arch "
32
- sed -i " " " s|-lpthread|-pthread| " " $lib_dir " /lib/pkgconfig/ * .pc
32
+
33
33
if [ -d " $lib_dir " ]; then
34
+ # Fix .pc files
35
+ sed -i.bak ' s|-lpthread|-pthread|' " $lib_dir " /lib/pkgconfig/* .pc
36
+ find " $lib_dir " /lib/pkgconfig -name " *.bak" -delete
37
+
38
+ # Copy the directory
34
39
mkdir -p " $MR_UNI_PROD_DIR /$LIB_NAME "
35
40
cp -Rf " $lib_dir " " $MR_UNI_PROD_DIR /$LIB_NAME "
36
41
else
@@ -136,4 +141,4 @@ function main() {
136
141
esac
137
142
}
138
143
139
- main
144
+ main
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function main() {
26
26
local dest_repo=$2
27
27
28
28
cd $src_repo
29
- local full_src_repo_path=" file://" $( PWD)
29
+ local full_src_repo_path=" file://$( PWD) "
30
30
cd - > /dev/null
31
31
32
32
if [[ -d $dest_repo ]]; then
@@ -37,4 +37,4 @@ function main() {
37
37
git clone -b localBranch " $full_src_repo_path " $dest_repo --depth=1
38
38
}
39
39
40
- main $*
40
+ main $*
You can’t perform that action at this time.
0 commit comments