]> git.ipfire.org Git - thirdparty/lldpd.git/commit
build: fix build issue introduced in previous commit
authorVincent Bernat <vincent@bernat.im>
Mon, 13 Jun 2016 07:54:57 +0000 (09:54 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 13 Jun 2016 07:54:57 +0000 (09:54 +0200)
commit4bf902e9c55c39c7c720c2866f8d31e149c21123
tree2ee169950e0252241814db7cd3c96fc5386cf810
parente8ffca58d84d3b93b55e9ff0c52b68426402a81e
build: fix build issue introduced in previous commit

$^ was used for a reason: automake would fix the paths used in
dependencies using VPATH or something similar. For some reason, this
even break with GNU make when not using OOT build. Long story short, we
use a pattern substitution to ensure that the atom files are looked up
in the correct directory.

This use of substitutions is mandated by POSIX (the 2013 version I
think). See:
 http://austingroupbugs.net/view.php?id=519

It is however believed that most make implementation had support for
this since a long time.
src/lib/Makefile.am