Fix out of source tree build of utilities by changing $top_srcdir to

$top_builddir in the references to the build library in the makefile
template ntfsprogs/Makefile.am.  (Yuval)

(Logical change 1.394)
edge.strict_endians
cantab.net!aia21 2004-05-21 22:01:03 +00:00
parent 1f49d8348f
commit 31a22bc88f
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
if REALLYSTATIC
AM_LIBS = $(top_srcdir)/libntfs/.libs/libntfs.a
AM_LIBS = $(top_builddir)/libntfs/.libs/libntfs.a
AM_LFLAGS = -static
STATIC_LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
else
AM_LIBS = $(top_srcdir)/libntfs/libntfs.la
AM_LIBS = $(top_builddir)/libntfs/libntfs.la
AM_LFLAGS = $(all_libraries)
LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
endif