diff options
author | Chris "koying" Browet <cbro@semperpax.com> | 2013-07-27 11:44:00 +0200 |
---|---|---|
committer | Chris "Koying" Browet <cbro@semperpax.com> | 2013-11-06 11:42:53 +0100 |
commit | 4d2ff16b2353dce6688ee5a135fe2d2fc2643617 (patch) | |
tree | d9c96dbbf41980b18417ce9ff209746d7d6be7f3 /configure.in | |
parent | 45a50dae90aef16fd2cac3823ca230841628d8d7 (diff) |
FIX: [stagefright] dyload the whole codec to prevent potential future api breakage
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9b7c7dcb15..8af09f9f85 100644 --- a/configure.in +++ b/configure.in @@ -39,6 +39,7 @@ AC_DEFUN([XB_ADD_CODEC], AC_MSG_CHECKING([for $2]) case $add_codecs in *$2*) + use_codec_$2="yes" AC_SUBST([USE_$1], 1) AC_DEFINE([HAS_$1], 1, [using $2]) AC_MSG_RESULT([enabling $2]) @@ -1966,7 +1967,6 @@ case $add_codecs in XB_ADD_CODEC([LIBAMCODEC], [amcodec]) ;; *libstagefright*) - LIBS+="-L${prefix}/opt/android-libs -lstdc++ -lutils -lcutils -lstagefright -lbinder -lui -lgui" XB_ADD_CODEC([LIBSTAGEFRIGHT], [libstagefright]) ;; *) @@ -2564,6 +2564,10 @@ if test "$use_skin_touched" = "yes"; then OUTPUT_FILES="$OUTPUT_FILES addons/skin.touched/media/Makefile" fi +if test "$use_codec_libstagefright" = "yes"; then +OUTPUT_FILES="$OUTPUT_FILES xbmc/cores/dvdplayer/DVDCodecs/Video/libstagefrightICS/Makefile" +fi + OUTPUT_FILES="$OUTPUT_FILES \ xbmc/interfaces/python/Makefile \ xbmc/interfaces/python/test/Makefile" |