mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Add win32ver data to meson-built postgres.exe.
As in the older build systems, the resources object is not an input to postgres.def. Reviewed by Andres Freund. Discussion: https://postgr.es/m/20230607231407.GC1334487@rfd.leadboat.com
This commit is contained in:
parent
04411cbfdb
commit
8c7ad6f156
@ -5,6 +5,7 @@ backend_sources = []
|
|||||||
backend_link_with = [pgport_srv, common_srv]
|
backend_link_with = [pgport_srv, common_srv]
|
||||||
|
|
||||||
generated_backend_sources = []
|
generated_backend_sources = []
|
||||||
|
post_export_backend_sources = []
|
||||||
|
|
||||||
subdir('access')
|
subdir('access')
|
||||||
subdir('archive')
|
subdir('archive')
|
||||||
@ -133,8 +134,15 @@ if dtrace.found() and host_system != 'darwin'
|
|||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if host_system == 'windows'
|
||||||
|
post_export_backend_sources += rc_bin_gen.process(win32ver_rc, extra_args: [
|
||||||
|
'--NAME', 'postgres',
|
||||||
|
'--FILEDESC', 'PostgreSQL Server',])
|
||||||
|
endif
|
||||||
|
|
||||||
postgres = executable('postgres',
|
postgres = executable('postgres',
|
||||||
backend_input,
|
backend_input,
|
||||||
|
sources: post_export_backend_sources,
|
||||||
objects: backend_objs,
|
objects: backend_objs,
|
||||||
link_args: backend_link_args,
|
link_args: backend_link_args,
|
||||||
link_with: backend_link_with,
|
link_with: backend_link_with,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user