diff --git a/configure.ac b/configure.ac index 929bfdfa..a335fa23 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,7 @@ AC_PROG_CC AC_PROG_GCC_TRADITIONAL AC_PROG_INSTALL AC_PATH_PROG(RM, rm, rm) +AC_PATH_PROG(LDCONFIG, ldconfig, true, [/sbin /usr/sbin $PATH]) AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_LIBTOOL diff --git a/src/Makefile.am b/src/Makefile.am index 20bcf7d2..ca0d07d3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -38,7 +38,7 @@ libs: install-exec-hook: $(INSTALL) -d $(DESTDIR)/sbin $(LN_S) -f $(bindir)/ntfs-3g $(DESTDIR)/sbin/mount.ntfs-3g - ldconfig + $(LDCONFIG) install-data-hook: $(INSTALL) -d $(DESTDIR)$(man8dir)