diff mbox series

[libgpiod] tests/Makefile.am: use top_builddir instead of relative paths

Message ID 20190311222007.15311-2-anders.roxell@linaro.org
State New
Headers show
Series [libgpiod] tests/Makefile.am: use top_builddir instead of relative paths | expand

Commit Message

Anders Roxell March 11, 2019, 10:20 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Bartosz Gołaszewski March 12, 2019, 9:08 a.m. UTC | #1
pon., 11 mar 2019 o 23:20 Anders Roxell <anders.roxell@linaro.org> napisał(a):
>

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> ---

>  tests/Makefile.am | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/tests/Makefile.am b/tests/Makefile.am

> index 80631b4f528d..e124a7e5df7a 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.20.1

>


I had already applied this one last time.

Bart
Anders Roxell March 12, 2019, 9:12 a.m. UTC | #2
On Tue, 12 Mar 2019 at 10:08, Bartosz Gołaszewski <bartekgola@gmail.com> wrote:
>

> pon., 11 mar 2019 o 23:20 Anders Roxell <anders.roxell@linaro.org> napisał(a):

> >

> > Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> > ---

> >  tests/Makefile.am | 2 +-

> >  1 file changed, 1 insertion(+), 1 deletion(-)

> >

> > diff --git a/tests/Makefile.am b/tests/Makefile.am

> > index 80631b4f528d..e124a7e5df7a 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.20.1

> >

>

> I had already applied this one last time.


oh sorry I thought it got lost since I forgot to add the prefix
"[libgpiod]" to the subject.

Thanks,
Anders
diff mbox series

Patch

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 80631b4f528d..e124a7e5df7a 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