git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6eb6086)
meson: Map host_system android to linux
2024年1月23日 19:07:05 +0000 (20:07 +0100)
2024年1月23日 19:07:05 +0000 (20:07 +0100)
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


diff --git a/meson.build b/meson.build
index a0c0914b509539b202f228f3c73a3833087776ca..b22828479bc24b9b5cb51754279de2ff951e98e8 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /