summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch')
-rw-r--r--meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch
new file mode 100644
index 000000000..4644910b7
--- /dev/null
+++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch
@@ -0,0 +1,25 @@
1[PATCH] add libnetsnmp when link
2
3Upstream-Status: Pending
4
5Signed-off-by: Roy Li <rongqing.li@windriver.com>
6---
7 plugins/snmp_bc/t/Makefile.am | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/plugins/snmp_bc/t/Makefile.am b/plugins/snmp_bc/t/Makefile.am
11index 57e77ac..9894620 100644
12--- a/plugins/snmp_bc/t/Makefile.am
13+++ b/plugins/snmp_bc/t/Makefile.am
14@@ -74,7 +74,7 @@ nodist_libsnmp_bc_la_SOURCES = $(GENERATED_EVENT_CODE) $(REMOTE_SIM_SOURCES)
15 # libopenhpi_la_LIBADD = $(top_builddir)/utils/libopenhpiutils.la
16 # libopenhpi_la_LDFLAGS = -L$(top_builddir)/utils -version-info @HPI_LIB_VERSION@ -export-symbols $(top_srcdir)/src/hpi.sym
17
18-libsnmp_bc_la_LIBADD = -luuid @SNMPLIBS@ $(top_builddir)/utils/libopenhpiutils.la
19+libsnmp_bc_la_LIBADD = -luuid @SNMPLIBS@ $(top_builddir)/utils/libopenhpiutils.la -lnetsnmp
20 libsnmp_bc_la_LDFLAGS = -L$(top_builddir)/utils -module -version-info @HPI_LIB_VERSION@
21 # libsnmp_bc_la_LDFLAGS = -version 0:0:0
22
23--
241.7.10.4
25