From 98a7203d86331cede77f1fd31d505b24a400eef8 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 28 Feb 2019 16:35:34 +0100 Subject: [PATCH] build: use top_builddir instead of relative paths The only instance of using a relative path for an internal library is in tests/Makefile.am. Use top_builddir instead. Signed-off-by: Anders Roxell Signed-off-by: Bartosz Golaszewski --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a9319a7..c887289 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 -- 2.30.2