summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libudev/Makefile.am2
-rw-r--r--src/udev/Makefile.am2
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