summaryrefslogtreecommitdiff
path: root/devel/elftoolchain/patches/patch-libelf_Makefile
blob: 2a4dd7307a30eb7aa84660541f6d826294e95983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-libelf_Makefile,v 1.1 2011/11/26 15:50:27 dholland Exp $

Add a minor version to libelf.so; otherwise a bootstrapped build does
"ln -sf libelf.so.1 libelf.so.1" and then install fails with ELOOP.

This is a bug in bootstrap-mk-files but I'm going to fix it in both
places to avoid demanding rebootstrapping.

--- libelf/Makefile~	2011-01-01 11:17:52.000000000 +0000
+++ libelf/Makefile
@@ -61,6 +61,7 @@ GENSRCS=	libelf_fsize.c libelf_msize.c l
 CLEANFILES=	${GENSRCS}
 
 SHLIB_MAJOR=	1
+SHLIB_MINOR=	0
 
 WARNS?=	6