[Libguestfs] [hivex PATCH 0/8] add a pkg-config descriptor for the local (not installed) build tree

Laszlo Ersek lersek at redhat.com
Wed Sep 8 13:27:50 UTC 2021


This series introduces the "lib/local/hivex.pc" pkg-config file to
hivex, permitting, through the "run" script, other programs and
libraries to be built against the just-built (not installed) hivex tree.
A few small details in the hivex build machinery that I understood to be
warts are cleaned up, and parts of the libguestfs tree *layout* are
adopted.

Thanks,
Laszlo

Laszlo Ersek (8):
  build: do not look for headers in "$(top_builddir)/lib"
  build: expose public library header "hivex.h" without "lib" contents
  build: remove "hivex.pc" from EXTRA_DIST
  build: move "hivex.pc.in" to the "lib" subdirectory
  run: use 'prepend' function to build paths
  build: allow C programs using hivex to be compiled against build dir
  build: link hivex statically into C programs compiled against build
    dir
  build: allow OCaml programs using hivex to be compiled against build
    dir

 configure.ac                   |  4 ++-
 Makefile.am                    |  8 ++---
 images/Makefile.am             |  2 +-
 include/Makefile.am            | 20 +++++++++++++
 lib/Makefile.am                | 16 +++++++---
 ocaml/Makefile.am              | 21 ++++++++++++--
 perl/Makefile.PL.in            |  2 +-
 python/Makefile.am             |  2 +-
 ruby/Rakefile.in               |  2 +-
 sh/Makefile.am                 |  3 +-
 xml/Makefile.am                |  1 +
 .gitignore                     |  6 ++--
 generator/generator.ml         |  2 +-
 hivex.pc.in => lib/hivex.pc.in |  0
 lib/local/hivex.pc.in          | 35 ++++++++++++++++++++++
 run.in                         | 53 +++++++++++++++++-----------------
 16 files changed, 129 insertions(+), 48 deletions(-)
 create mode 100644 include/Makefile.am
 rename hivex.pc.in => lib/hivex.pc.in (100%)
 create mode 100644 lib/local/hivex.pc.in

-- 
2.19.1.3.g30247aa5d201



More information about the Libguestfs mailing list