[vlc-commits] contrib: iconv: Rework the ANDROID_API check to not use bc
Hugo Beauzée-Luyssen
git at videolan.org
Wed Jan 23 11:06:00 CET 2019
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jan 23 09:41:00 2019 +0100| [2f9c4cb7cd91d1480b420186bd1c0567684acf40] | 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=2f9c4cb7cd91d1480b420186bd1c0567684acf40
---
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