File tree 1 file changed +13
-0
lines changed
scripts/build/pg_config_vcpkg_stub/pg_config_vcpkg_stub
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ def _main() -> None:
44
44
raise ScriptError (f"libpq include directory not found: { d } " )
45
45
print (vcpkg_platform_root .joinpath ("include" ))
46
46
47
+ elif args .cppflags or args .ldflags :
48
+ print ("" )
49
+
47
50
else :
48
51
raise ScriptError ("command not handled" )
49
52
@@ -63,6 +66,16 @@ def parse_cmdline() -> Namespace:
63
66
action = "store_true" ,
64
67
help = "show location of C header files of the client interfaces" ,
65
68
)
69
+ g .add_argument (
70
+ "--cppflags" ,
71
+ action = "store_true" ,
72
+ help = "(dummy) show CPPFLAGS value used when PostgreSQL was built" ,
73
+ )
74
+ g .add_argument (
75
+ "--ldflags" ,
76
+ action = "store_true" ,
77
+ help = "(dummy) show LDFLAGS value used when PostgreSQL was built" ,
78
+ )
66
79
opt = parser .parse_args ()
67
80
return opt
68
81
You can’t perform that action at this time.
0 commit comments