diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2013-04-02 11:33:52 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-04-04 09:24:18 -0400 |
commit | 45f9def27267be94265487df03ea3cccfd10f622 (patch) | |
tree | d9d9a7de6341e7a6cbea6272a4d291fcf09d45fe | |
parent | dd91c2dbcf34bac3b6fe30bc6ffeb25cfd219411 (diff) |
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 <axs@gentoo.org>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/libudev/Makefile.am | 2 | ||||
-rw-r--r-- | 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 |