From: Anders Roxell Date: Thu, 28 Feb 2019 15:35:34 +0000 (+0100) Subject: build: use top_builddir instead of relative paths X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=98a7203d86331cede77f1fd31d505b24a400eef8;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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