From 89ecf8cabebfd13e50473fba7fb98f65a52b02d8 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 20 Jan 2013 21:56:57 +1000 Subject: Make path to ldconfig configurable The FHS (2.3) says having ldconfig in /sbin is optional and it is usually located in /usr/sbin. So /sbin/ldconfig should not be hard coded in pacman. Instead, provide a configure option --with-ldconfig that defaults to the current path. Signed-off-by: Allan McRae --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cd69b6e7..d4cc9fa4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,6 +29,7 @@ test-pacman: test/pacman src/pacman LC_ALL=C $(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \ --test $(top_srcdir)/test/pacman/tests/*.py \ --scriptlet-shell $(SCRIPTLET_SHELL) \ + --ldconfig $(LDCONFIG) \ -p $(top_builddir)/src/pacman/pacman test-pacsort: test/util src/util -- cgit v1.2.3-24-g4f1b