diff options
author | sommerfeld <sommerfeld@pkgsrc.org> | 2001-02-12 01:17:24 +0000 |
---|---|---|
committer | sommerfeld <sommerfeld@pkgsrc.org> | 2001-02-12 01:17:24 +0000 |
commit | cfdc9474b800c1e82efb5dca574e9633b0adc020 (patch) | |
tree | fb04dce8e2e449bdcc9d58d624605cc6d234bcdc /mk/bsd.pkg.mk | |
parent | d1982e17ccff4d194e9d2b3b992a8cb47574197e (diff) | |
download | pkgsrc-cfdc9474b800c1e82efb5dca574e9633b0adc020.tar.gz |
Work around (now fixed) bug in file(1) for arm32 a.out dynamically
linked programs. The buggy file(1) on arm32 objects reports "shared
library" for both programs and shared libraries, which results in
broken automatic shared lib handling.
Discussed on tech-pkg, approved two weeks ago by agc.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 151e7117b0a..7c46fafd3f1 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.659 2001/02/05 18:35:48 skrll Exp $ +# $NetBSD: bsd.pkg.mk,v 1.660 2001/02/12 01:17:24 sommerfeld Exp $ # # This file is in the public domain. # @@ -1931,6 +1931,8 @@ show-shlib-type: case `${FILE} a.$$$$.out` in \ *ELF*dynamically*) \ sotype=ELF ;; \ + *shared*library*) \ + sotype="a.out" ;; \ *dynamically*) \ sotype="a.out" ;; \ esac; \ |