diff --git a/Utility/Android.hs b/Utility/Android.hs index d602ee8df6..a352faa4e2 100644 --- a/Utility/Android.hs +++ b/Utility/Android.hs @@ -11,4 +11,4 @@ import Common -- Detect when the Linux build is running on Android, eg in termux. osAndroid :: IO Bool -osAndroid = ("Android" == ) <$> readProcess "uname" ["-o"] +osAndroid = ("Android" `isPrefixOf` ) <$> readProcess "uname" ["-o"]