freebsd-ports/net/net-snmp/files/patch-aa
2002-08-03 08:01:37 +00:00

13 lines
429 B
Text

--- 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