From f4447af5b1a644af89e065410cdb12fe776cac47 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 23 Jan 2024 20:07:05 +0100 Subject: [PATCH] meson: Map host_system android to linux This appears to be what is missing to support builds on Android (with meson). Author: Andres Freund Discussion: https://www.postgresql.org/message-id/flat/CAC7zN94TdsHhY88XkroJzSMx7E%3DBQpV9LKKjNSEnTM04ihoWCA%40mail.gmail.com --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index a0c0914b50..b22828479b 100644 --- a/meson.build +++ b/meson.build @@ -184,6 +184,10 @@ sema_kind = 'sysv' if host_system == 'dragonfly' # apparently the most similar host_system = 'netbsd' +elif host_system == 'android' + # while android isn't quite a normal linux, it seems close enough + # for our purposes so far + host_system = 'linux' endif # meson's system names don't quite map to our "traditional" names. In some