aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2019-02-28 16:19:12 +0100
committerAnders Roxell <anders.roxell@linaro.org>2019-02-28 16:19:36 +0100
commitc8c39ed3968362a7260a87868e879e6b6a904bd1 (patch)
treef7f41dc6458d7977f6ba69f2fafcb3ae6cfd8969
parentfa2f9387c154d314502e7286e0d6b9e43e3bb0c3 (diff)
tests/Makefile.am: use top_builddir instead of relative pathsinstall-tests
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bf03ac7..7eaf285 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -9,7 +9,7 @@
AM_CFLAGS = -I$(top_srcdir)/include/ -include $(top_builddir)/config.h
AM_CFLAGS += -Wall -Wextra -g $(KMOD_CFLAGS) $(UDEV_CFLAGS)
AM_LDFLAGS = -pthread
-LDADD = ../src/lib/libgpiod.la $(KMOD_LIBS) $(UDEV_LIBS)
+LDADD = $(top_builddir)/src/lib/libgpiod.la $(KMOD_LIBS) $(UDEV_LIBS)
check_PROGRAMS = gpiod-test