summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-04-02 11:33:52 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-04-04 09:24:18 -0400
commit45f9def27267be94265487df03ea3cccfd10f622 (patch)
treed9d9a7de6341e7a6cbea6272a4d291fcf09d45fe /src/libudev
parentdd91c2dbcf34bac3b6fe30bc6ffeb25cfd219411 (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>
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/Makefile.am2
1 files changed, 1 insertions, 1 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