From 0fa41648d77f04d5ad3ed69ff3e3903bd1abf121 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Thu, 6 Oct 2022 12:22:36 -0700 Subject: [PATCH] meson: Fix two comments Author: Junwang Zhao Discussion: https://postgr.es/m/CAEG8a3KxObc9g8NTzx1kX0Auf=J7FNiubYZXSK6G5wv5ShmP6A@mail.gmail.com --- src/backend/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/meson.build b/src/backend/meson.build index fefa40ddb6..6f4cd6ceb0 100644 --- a/src/backend/meson.build +++ b/src/backend/meson.build @@ -112,9 +112,9 @@ backend_objs = [postgres_lib.extract_all_objects(recursive: false)] # On at least linux we don't actually need to pass in all the objects, but # at least on FreeBSD and Solaris we have to. # -# XXX: The reason we don't use the objects for generated sources is that -# hits a meson bug. Luckily we don't don't have probes in generated -# sources... +# XXX: The reason we don't use the objects for generated sources is that doing +# so is not supported in older meson versions. Luckily we don't have probes in +# generated sources... if dtrace.found() and host_system != 'darwin' backend_input += custom_target( 'probes.o', @@ -148,7 +148,7 @@ pg_mod_link_depend = [] # or a [import] library derived from it. Set up the link flags for that. if mod_link_args_fmt.length() > 0 # To avoid unnecessary build-time dependencies on other operating systems, - # only the dependency when it when necessary. + # only add the dependency when necessary. pg_mod_link_depend += postgres name = mod_link_with_name.format('postgres')