[vlc-commits] contrib: iconv: Rework the ANDROID_API check to not use bc

Hugo Beauzée-Luyssen git at videolan.org
Wed Jan 23 10:01:41 CET 2019


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jan 23 09:41:00 2019 +0100| [834477ccc1c399d640921112ce444a8413d51e10] | committer: Hugo Beauzée-Luyssen

contrib: iconv: Rework the ANDROID_API check to not use bc

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=834477ccc1c399d640921112ce444a8413d51e10
---

 contrib/src/iconv/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/iconv/rules.mak b/contrib/src/iconv/rules.mak
index 0a70d22e6b..97fa2ade0b 100644
--- a/contrib/src/iconv/rules.mak
+++ b/contrib/src/iconv/rules.mak
@@ -9,7 +9,7 @@ ifndef HAVE_WIN32
 ifndef HAVE_ANDROID
 PKGS_FOUND += iconv
 else
-ifeq ($(shell echo "$(ANDROID_API) >= 28" | bc), 1)
+ifeq ($(shell expr "$(ANDROID_API)" '>=' '28'), 1)
 PKGS_FOUND += iconv
 endif
 endif



More information about the vlc-commits mailing list