Updated build configuration of ntfsprogs to use libntfs-3g's includes and libraries.

edge.strict_endians
Erik Larsson 2010-01-15 09:33:54 +01:00
parent 8bed21697d
commit 237b937a65
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
if REALLYSTATIC
AM_LIBS = $(top_builddir)/libntfs/.libs/libntfs.a
AM_LIBS =
AM_LFLAGS = -static
STATIC_LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
else
AM_LIBS = $(top_builddir)/libntfs/libntfs.la
AM_LFLAGS = $(all_libraries)
AM_LIBS =
AM_LFLAGS = $(all_libraries) -lntfs-3g
LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
endif
@ -42,7 +42,7 @@ EXTRA_PROGRAMS += ntfsrm
endif
# Set the include path.
AM_CPPFLAGS = -I$(top_srcdir)/include/ntfs $(all_includes)
AM_CPPFLAGS = $(all_includes)
ntfsfix_SOURCES = ntfsfix.c utils.c utils.h
ntfsfix_LDADD = $(AM_LIBS)