From 45f9def27267be94265487df03ea3cccfd10f622 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Tue, 2 Apr 2013 11:33:52 -0400 Subject: Use LN_S instead of directly calling ln -s configure.ac has AC_PROG_LN_S already so we should use it. upstream did this in commit 783162123dbac43d5b7a3fab9d4f11dcf86d06e1 Signed-off-by: Ian Stakenvicius Signed-off-by: Anthony G. Basile --- src/libudev/Makefile.am | 2 +- src/udev/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am index 687764e5e2..f497995056 100644 --- a/src/libudev/Makefile.am +++ b/src/libudev/Makefile.am @@ -9,7 +9,7 @@ define move-to-rootlibdir $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \ so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \ so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ - ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \ + $(LN_S) -f $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \ mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \ fi endef diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am index 929185b08d..351d201768 100644 --- a/src/udev/Makefile.am +++ b/src/udev/Makefile.am @@ -119,7 +119,7 @@ CLEANFILES = \ # install udevadm symlink in sbindir install-exec-hook: - ln -sf ../bin/udevadm $(DESTDIR)$(sbindir)/udevadm + $(LN_S) -f ../bin/udevadm $(DESTDIR)$(sbindir)/udevadm uninstall-hook: rm -Rf $(DESTDIR)$(sbindir)/udevadm -- cgit v1.2.3-54-g00ecf