summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@pkgsrc.org>2001-02-12 01:17:24 +0000
committersommerfeld <sommerfeld@pkgsrc.org>2001-02-12 01:17:24 +0000
commitcfdc9474b800c1e82efb5dca574e9633b0adc020 (patch)
treefb04dce8e2e449bdcc9d58d624605cc6d234bcdc /mk
parentd1982e17ccff4d194e9d2b3b992a8cb47574197e (diff)
downloadpkgsrc-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')
-rw-r--r--mk/bsd.pkg.mk4
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; \