1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

meson: Basic cygwin support

There likely are further issues, but as evidenced by the CI task proposed by
Justin in the referenced thread, this suffices to build and run basic tests in
cygwin (some fixes for the test infrastructure are needed, but that's
independent of the meson aspect).

Author: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20221021034040.GT16921@telsasoft.com
This commit is contained in:
Andres Freund
2022-12-06 11:25:54 -08:00
parent a61b1f7482
commit 79f7c482f6
3 changed files with 12 additions and 2 deletions

View File

@@ -40,6 +40,10 @@ if host_system == 'windows'
'win32setlocale.c',
'win32stat.c',
)
elif host_system == 'cygwin'
pgport_sources += files(
'dirmod.c',
)
endif
if cc.get_id() == 'msvc'