GNOME Bugzilla – Bug 797296
libvpx: fails to configure for cross-android building on macos
Last modified: 2018-10-27 09:45:23 UTC
Created attachment 373946 [details] config.log When Android cross-building on Mac OS X, it fails to configure because of wrong LDFLAGS. See the attached config.log. The below is a capture log from terminal, but config.log has more hint. ``` Configuring for target 'arm64-android-gcc' enabling arm64 enabling neon enabling realtime_only enabling webm_io enabling libyuv Toolchain is unable to link executables Configuration failed. This could reflect a misconfiguration of your toolchains, improper options selected, or another problem. If you don't see any useful error messages above, the next step is to look at the configure error log file (config.log) to determine what configure was trying to do when it died. ```
Created attachment 373947 [details] [review] libvpx: Move LDFLAGS to target platform for Darwin
That fix isn't quite correct. We need to use those special flags when targetting both osx *and* ios
Created attachment 374026 [details] [review] libvpx: Move LDFLAGS to target platform for Darwin/IOS Checking target platforms would work.
commit 268831128130de66a02bc4f67d0be8128003dfe3 (HEAD -> master) Author: Justin Kim <jeongseok.kim@sk.com> Date: Wed Oct 17 10:21:56 2018 +0900 libvpx: Use libc++ also on iOS https://bugzilla.gnome.org/show_bug.cgi?id=797296