bt2/setup.py.in: don't call get_cflags/get_ldshared unnecessarily
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Feb 2024 19:31:13 +0000 (14:31 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 9 Feb 2024 19:07:31 +0000 (14:07 -0500)
commit1a543dc4a5c9f1f4dcb940f1622fbf1c283e6047
tree85d6c6b92d24ff6ac01d18e50d1481a77a1ec4a8
parent4847ff77fd02c67f994b09f53babcbe5086b07dd
bt2/setup.py.in: don't call get_cflags/get_ldshared unnecessarily

In our_get_config_vars(), we call get_cflags() and get_ldshared() even
if their result is not going to be used.  Make the
`overridden_config_vars` dict hold references to the functions, and
invoke them as needed.

Change-Id: Ibad179b84fb06c4d7ae9bf1160ec38e903210f79
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
src/bindings/python/bt2/setup.py.in
This page took 0.025047 seconds and 4 git commands to generate.