meson: Map host_system android to linux

This appears to be what is missing to support builds on Android (with
meson).

Author: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/CAC7zN94TdsHhY88XkroJzSMx7E%3DBQpV9LKKjNSEnTM04ihoWCA%40mail.gmail.com
This commit is contained in:
Peter Eisentraut 2024-01-23 20:07:05 +01:00
parent 6eb6086faa
commit f4447af5b1
1 changed files with 4 additions and 0 deletions

View File

@ -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