make: use LDADD instead of AM_LDFLAGS when linking against libgpiod
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 8 Feb 2017 13:35:04 +0000 (14:35 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 8 Feb 2017 13:35:04 +0000 (14:35 +0100)
commit946e89965bc0036bf3738ea9dd67191c31c9b4a2
tree5cacb60291ae5b9c1e845192f80ada612380237b
parent39ae8e13fe3005864654bf08c8fc82f366b2d84f
make: use LDADD instead of AM_LDFLAGS when linking against libgpiod

Libtool tends to have problems (especially with C++) when the
variables are used incorrectly. When building tools, specify the
library we want to link against using LDADD.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/Makefile.am