fix: 'make install' failed if ldconfig wasn't in the $PATH

This commit is contained in:
szaka 2006-12-08 23:47:08 +00:00
parent 52e0bb19d6
commit a65b19aa02
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)