Wrap python_write_bytecode with HAVE_PYTHON ifdef
authorKevin Buettner <kevinb@redhat.com>
Thu, 21 Jul 2022 00:00:24 +0000 (17:00 -0700)
committerKevin Buettner <kevinb@redhat.com>
Thu, 21 Jul 2022 00:12:08 +0000 (17:12 -0700)
commit0679db296682575b4d34fc8686fbbeb305b283e9
tree5f2ad61258ded3f25609f0129f56fda2970e3fd8
parent2637e8bb1ad92733464488af4c0621cc8851e215
Wrap python_write_bytecode with HAVE_PYTHON ifdef

This commit fixes a build error on machines lacking python headers
and/or libraries.
gdb/python/python.c