summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2013-09-28 15:26:34 -0400
committerKeith Packard <keithp@keithp.com>2013-10-04 14:09:30 -0700
commita1d87576a30008253eb0cc92b44c9718f6665062 (patch)
treedb7a9618e1774fa179ffe1de52a7108477c47b30 /hw
parent28c8e1910797970dbf1d40794f1804a8fcc812bc (diff)
Use $(LN_S) provided by AC_PROG_LN_S macro to create links
For better code portability. Reviewed-By: Matt Dew <marcoz@osource.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
index 6b6673279..73bddabb8 100644
--- a/hw/xfree86/Makefile.am
+++ b/hw/xfree86/Makefile.am
@@ -90,7 +90,7 @@ install-data-local:
install-exec-local: install-binPROGRAMS
- (cd $(DESTDIR)$(bindir) && rm -f X && ln -s Xorg$(EXEEXT) X)
+ (cd $(DESTDIR)$(bindir) && rm -f X && $(LN_S) Xorg$(EXEEXT) X)
if INSTALL_SETUID
chown root $(DESTDIR)$(bindir)/Xorg
chmod u+s $(DESTDIR)$(bindir)/Xorg