build: fix building with static libraries
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 10 Oct 2017 12:02:59 +0000 (14:02 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Tue, 10 Oct 2017 12:26:28 +0000 (14:26 +0200)
commit7c7846b66ac1c0d548d2a713300f7c0ae7fd6bcb
treee9759936e52f915d8e9ffa3dda947bdbdc8bba22
parent6521c1234097277c3d8f2c14fc6031e17dfcfeb0
build: fix building with static libraries

We call gpiod_version_string() from tools-common.c but adding
libgpiod.la to LDADD before libtools-common.la makes the linker
discard this symbol as unused.

Invert the LDADD order to fix the static build.

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