summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjoerg <joerg>2009-06-02 22:28:52 +0000
committerjoerg <joerg>2009-06-02 22:28:52 +0000
commit70cd2b3b293fabc586d5d4ddf87159545b293d38 (patch)
tree202a01c4b021fd4ec74c1d6cbb340aa2530e1a8c /mk/compiler
parent4ea05168ea4663f1526ddc559516650714a94658 (diff)
downloadpkgsrc-70cd2b3b293fabc586d5d4ddf87159545b293d38.tar.gz
Don't create hardlinks to symlinks, AIX freaks out with that.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/xlc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/xlc.mk b/mk/compiler/xlc.mk
index 50a6e1305a5..48b8792efd0 100644
--- a/mk/compiler/xlc.mk
+++ b/mk/compiler/xlc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: xlc.mk,v 1.23 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: xlc.mk,v 1.24 2009/06/02 22:28:52 joerg Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -158,7 +158,7 @@ ${_XLC_${_var_}}:
. for _alias_ in ${_ALIASES.${_var_}:S/^/${.TARGET:H}\//}
${RUN} \
if [ ! -x "${_alias_}" ]; then \
- ${LN} -f ${.TARGET} ${_alias_}; \
+ ${LN} -f -s ${.TARGET} ${_alias_}; \
fi
. endfor
. endif