Skip to content

Commit c3dafaa

Browse files
committed
meson: Add missing argument to gssapi.h check
These were missing since the initial introduction of the meson based build, in e692727. As-is this is unlikely to cause an issue, but a future commit will add support for detecting gssapi without use of dependency(), which could fail due to this. Discussion: https://postgr.es/m/20240708225659.gmyqoosi7km6ysgn@awork3.anarazel.de Backpatch: 16-, where the meson based build was added
1 parent 220003b commit c3dafaa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

meson.build

+4-2
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,8 @@ if not gssapiopt.disabled()
621621
elif cc.check_header('gssapi/gssapi.h', dependencies: gssapi, required: false,
622622
args: test_c_args, include_directories: postgres_inc)
623623
cdata.set('HAVE_GSSAPI_GSSAPI_H', 1)
624-
elif cc.check_header('gssapi.h', args: test_c_args, dependencies: gssapi, required: gssapiopt)
624+
elif cc.check_header('gssapi.h', dependencies: gssapi, required: gssapiopt,
625+
args: test_c_args, include_directories: postgres_inc)
625626
cdata.set('HAVE_GSSAPI_H', 1)
626627
else
627628
have_gssapi = false
@@ -631,7 +632,8 @@ if not gssapiopt.disabled()
631632
elif cc.check_header('gssapi/gssapi_ext.h', dependencies: gssapi, required: false,
632633
args: test_c_args, include_directories: postgres_inc)
633634
cdata.set('HAVE_GSSAPI_GSSAPI_EXT_H', 1)
634-
elif cc.check_header('gssapi_ext.h', args: test_c_args, dependencies: gssapi, required: gssapiopt)
635+
elif cc.check_header('gssapi_ext.h', dependencies: gssapi, required: gssapiopt,
636+
args: test_c_args, include_directories: postgres_inc)
635637
cdata.set('HAVE_GSSAPI_EXT_H', 1)
636638
else
637639
have_gssapi = false

0 commit comments

Comments
 (0)