Skip to content

Commit f4447af

Browse files
committed
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
1 parent 6eb6086 commit f4447af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ sema_kind = 'sysv'
184184
if host_system == 'dragonfly'
185185
# apparently the most similar
186186
host_system = 'netbsd'
187+
elif host_system == 'android'
188+
# while android isn't quite a normal linux, it seems close enough
189+
# for our purposes so far
190+
host_system = 'linux'
187191
endif
188192

189193
# meson's system names don't quite map to our "traditional" names. In some

0 commit comments

Comments
 (0)