diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-11-17 20:16:51 +1100 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-11-18 08:19:09 +1100 |
commit | b722560f4ac9d2b4f289cf8ffede1c615a16dcc2 (patch) | |
tree | cf3843b156d67a3ed6d169cc9422f2683813519a /tools | |
parent | ef526d92a2b5bfcd758e6ceaf49a5190808a7810 (diff) |
[tools/depends][target] libass android libc++ link
Android 5 based OS's (API Level 21/22) require an explicit link to libc++ for libass.
This isnt necessary for Android 6+ (API Level 23+) for whatever reason.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/libass/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/depends/target/libass/Makefile b/tools/depends/target/libass/Makefile index 6085889629..6272e051ad 100644 --- a/tools/depends/target/libass/Makefile +++ b/tools/depends/target/libass/Makefile @@ -9,6 +9,12 @@ ARCHIVE=$(SOURCE).tar.gz SHA512=3b8022ca500d4a9e19e9b7106e29d23d4bca20012619c829bc3e77437bcb3c7bd8364800f7daeb3f2d8400afc7bbcaab487c7b30c429d9aed70e37ce4cb265a2 include ../../download-files.include +ifeq ($(OS),android) + # Android API Level 21/22 requires explicit link. + # This doesnt appear to be required for API Level 23+ (Android 6+) + export LDFLAGS+= -lstdc++ +endif + # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ ./configure --prefix=$(PREFIX) --disable-enca |