]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix build of fresh checkout
authorEric Blake <eblake@redhat.com>
Wed, 6 Jun 2012 15:45:04 +0000 (09:45 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 6 Jun 2012 20:49:27 +0000 (14:49 -0600)
commitca02b101d74510df424c5ea659d7b7d481874f98
treeba07a2808b9b754307469db52146fa54bfaaf0f1
parent3c3644d30f03a76c9b4dba29f4568f36ad762670
build: fix build of fresh checkout

Commit 7bff56a worked in an incremental build, but fails for a
fresh clone; apparently, if make sees both an actual file
spelling and an inference rule, only the exact spelling is used.

  CCLD   libvirt_driver_test.la
  CC     libvirt_driver_remote_la-remote_driver.lo
remote/remote_driver.c:4707:34: fatal error: remote_client_bodies.h: No such file or directory
compilation terminated.

BUILT_SOURCES to the rescue, instead of trying to mess with .lo
dependencies directly.

* src/Makefile.am (REMOTE_DRIVER_PREREQS, %remote_driver.lo): Drop...
(BUILT_SOURCES): ...and add here instead.
src/Makefile.am