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

Hugo Beauzée-Luyssen git at videolan.org
Wed Jan 23 18:28:27 CET 2019


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

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

(cherry picked from commit 2f9c4cb7cd91d1480b420186bd1c0567684acf40)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2ed40917e828f70c0a54255cc8899f96da710f69
---

 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