aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-01-23 20:07:05 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-01-23 20:07:05 +0100
commitf4447af5b1a644af89e065410cdb12fe776cac47 (patch)
tree447f7521182cdac911ffdca534b4424792fbeb3b
parent6eb6086faa3842c2a38a1ee2f97bf9a42ce27610 (diff)
downloadpostgresql-f4447af5b1a644af89e065410cdb12fe776cac47.tar.gz
postgresql-f4447af5b1a644af89e065410cdb12fe776cac47.zip
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
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index a0c0914b509..b22828479bc 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