X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/109a6cdf134bce9390c96cbb77531ec4f7eca08e..b46bbe4f64a68fdec38675690f9576c2cbdf4cd3:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 80cbd22..67e4d7b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,8 +10,9 @@ include engine/Makefile.inc bin_PROGRAMS = upkg upkg_SOURCES = upkg.c avl.c module.c exportable.c uobject.c -upkg_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL) -upkg_LDFLAGS = -export-dynamic -upkg_LDADD = libupkg.la $(LIBLTDL) $(GLIB_LIBS) +upkg_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \ + $(GLIB_CFLAGS) $(LTDLINCL) +upkg_LDFLAGS = -L$(top_builddir)/lib -export-dynamic +upkg_LDADD = libupkg.la $(LIBLTDL) $(GLIB_LIBS) -lgnu endif