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 1818# when '-l all' will use blew default config:
1919apple_default_libs=" openssl opus dav1d dvdread freetype fribidi harfbuzz unibreak ass ffmpeg smb2 bluray"
2020
21+ android_default_libs=" openssl opus dav1d dvdread xml2 freetype fribidi harfbuzz unibreak fontconfig ass ffmpeg smb2 bluray"
22+
2123export ios_default_libs=" $apple_default_libs "
2224export macos_default_libs=" $apple_default_libs "
2325export 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() {
2929
3030 for arch in $archs ; do
3131 local lib_dir=" $MR_PRODUCT_ROOT /$LIB_NAME -$arch "
32- sed -i " " " s|-lpthread|-pthread| " " $lib_dir " /lib/pkgconfig/ * .pc
32+
3333 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
3439 mkdir -p " $MR_UNI_PROD_DIR /$LIB_NAME "
3540 cp -Rf " $lib_dir " " $MR_UNI_PROD_DIR /$LIB_NAME "
3641 else
@@ -136,4 +141,4 @@ function main() {
136141 esac
137142}
138143
139- main
144+ main
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function main() {
2626 local dest_repo=$2
2727
2828 cd $src_repo
29- local full_src_repo_path=" file://" $( PWD)
29+ local full_src_repo_path=" file://$( PWD) "
3030 cd - > /dev/null
3131
3232 if [[ -d $dest_repo ]]; then
@@ -37,4 +37,4 @@ function main() {
3737 git clone -b localBranch " $full_src_repo_path " $dest_repo --depth=1
3838}
3939
40- main $*
40+ main $*
You can’t perform that action at this time.
0 commit comments