diff options
author | jlam <jlam> | 2004-11-12 21:21:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-11-12 21:21:08 +0000 |
commit | 1249a2465ec4be80a73ea99346f65a1301ffa8c9 (patch) | |
tree | 4bc80ae5dd81e953c6fa8b477d5496936f4b4a65 /mk/scripts | |
parent | 1a7c62d41c6b203d20478d71ec77dd89885c3a2f (diff) | |
download | pkgsrc-1249a2465ec4be80a73ea99346f65a1301ffa8c9.tar.gz |
Don't expand .la files in PLISTs that are symlinks. The expansion should
only occur with the real .la file. This avoids the problem noted by
Greg Troxel in:
http://mail-index.netbsd.org/tech-pkg/2004/11/12/0018.html
Diffstat (limited to 'mk/scripts')
-rwxr-xr-x | mk/scripts/print-la-libnames | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts/print-la-libnames b/mk/scripts/print-la-libnames index 2a2a71ada7e..a37a9459ead 100755 --- a/mk/scripts/print-la-libnames +++ b/mk/scripts/print-la-libnames @@ -1,6 +1,6 @@ # /bin/sh # -# $NetBSD: print-la-libnames,v 1.3 2004/10/05 22:34:07 jlam Exp $ +# $NetBSD: print-la-libnames,v 1.4 2004/11/12 21:21:08 jlam Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -56,7 +56,7 @@ do *) lapath="./$la" ;; esac - if [ -r "$lapath" ]; then + if [ -r "$lapath" -a ! -h "$lapath" ]; then if ${GREP} -q "libtool library file" "$lapath"; then . "$lapath" if [ "$installed" = "no" ]; then |