summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-06-02 22:28:52 +0000
committerjoerg <joerg@pkgsrc.org>2009-06-02 22:28:52 +0000
commit3ba39f1c8b922e5e95590f3ccd9a50715bb16152 (patch)
tree202a01c4b021fd4ec74c1d6cbb340aa2530e1a8c /mk
parenta60c4bcca7c5832f31d4a7a146a6d1784613f6ed (diff)
downloadpkgsrc-3ba39f1c8b922e5e95590f3ccd9a50715bb16152.tar.gz
Don't create hardlinks to symlinks, AIX freaks out with that.
Diffstat (limited to 'mk')
-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