OSDN Git Service

config: use LDADD to obtain appropriate dependencies
authorGaetan Nadon <memsize@videotron.ca>
Fri, 15 Oct 2010 21:34:16 +0000 (17:34 -0400)
committerGaetan Nadon <memsize@videotron.ca>
Fri, 15 Oct 2010 21:34:16 +0000 (17:34 -0400)
commite29e477ff84ab16938e58ae2719358c14c86a500
tree7f7a2f99cd1b71983e30f2b9947663cfc81a4e66
parentfd476deabb97d08086ad465c4d0e913c9437a6bb
config: use LDADD to obtain appropriate dependencies

In generated scanpci/Makefile, this line is added:
scanpci_DEPENDENCIES = $(top_builddir)/src/libpciaccess.la

If the content of the library changes, the tool will rebuild.
When scanpci was in the same directory as the library, the .la file was used.
This will also ensure the "installed" pciaccess library is not used.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
scanpci/Makefile.am