summaryrefslogtreecommitdiff
path: root/net/net-snmp4/files/patch-aa
blob: 26a99aa30842c0d58f01f5f546c8f82e701bbc1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- snmplib/Makefile.in.orig	Mon Sep  7 16:19:24 1998
+++ snmplib/Makefile.in	Mon Oct 19 16:16:19 1998
@@ -23,7 +23,10 @@
 all: $(TARG)
 
 libsnmp.$(SHLIB_EXTENSION):    ${OBJS}
-	$(SHLIB_LD_CMD) libsnmp.$(SHLIB_EXTENSION) ${OBJS}
+	ld -Bshareable -soname libsnmp.$(SHLIB_EXTENSION).$(SHLIB_VERSION) \
+		-o libsnmp.$(SHLIB_EXTENSION) ${OBJS}
+	ln -f libsnmp.$(SHLIB_EXTENSION) \
+		libsnmp.$(SHLIB_EXTENSION).$(SHLIB_VERSION)
 	$(RANLIB) libsnmp.$(SHLIB_EXTENSION)
 
 installdirs: