summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-aa
blob: 4d371fdbd56e2afa60667c4f599977b568dc7c7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- snmplib/Makefile.in.orig	Wed Jul 17 02:50:49 2002
+++ snmplib/Makefile.in	Mon Jul 22 12:24:37 2002
@@ -140,6 +140,10 @@
 
 libsnmp.$(LIB_EXTENSION)$(LIB_VERSION):    ${TOBJS}
 	$(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS}
+	ld -Bshareable -soname libsnmp.so.4 \
+		-o libsnmp.so ${OBJS}
+	ln -f libsnmp.so \
+		../libsnmp.so.4
 	$(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
 
 #how to build dependencies