diff --git a/moo/t/Makefile.am b/moo/t/Makefile.am index 7837047..b683ce0 100644 --- a/moo/t/Makefile.am +++ b/moo/t/Makefile.am @@ -9,7 +9,7 @@ AM_CPPFLAGS = \ -I$(abs_srcdir)/../lib \ -I$(includedir) -AM_LDFLAGS = -L$(libdir) +AM_LDFLAGS = -L$(abs_builddir)/../lib -L$(libdir) LDADD = -lmoo $(PTHREAD_LIBS) if WIN32 diff --git a/moo/t/Makefile.in b/moo/t/Makefile.in index bd0672d..ff798b8 100644 --- a/moo/t/Makefile.in +++ b/moo/t/Makefile.in @@ -341,7 +341,7 @@ AM_CPPFLAGS = \ -I$(abs_srcdir)/../lib \ -I$(includedir) -AM_LDFLAGS = -L$(libdir) +AM_LDFLAGS = -L$(abs_builddir)/../lib -L$(libdir) LDADD = -lmoo $(PTHREAD_LIBS) $(am__append_1) t_001_SOURCES = t-001.c all: all-am