summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld>2001-02-12 01:17:24 +0000
committersommerfeld <sommerfeld>2001-02-12 01:17:24 +0000
commitaeaa3c9fe65c6ba2209be4aef00a920783356da9 (patch)
treefb04dce8e2e449bdcc9d58d624605cc6d234bcdc /mk
parent9a61b13bc442e1dda387aed0d76605813368b09a (diff)
downloadpkgsrc-aeaa3c9fe65c6ba2209be4aef00a920783356da9.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; \