From f7b47573a300f29fdc599e6adc8be20c2dee6313 Mon Sep 17 00:00:00 2001 From: Jeff Shaw Date: Wed, 29 Jun 2016 09:12:09 -0700 Subject: [Netlink] Fix testrtnl_plugin dependency on librtnl. Link against the libtool file, not the library itself. Without this change, the following error is produced when building the plugin. /usr/bin/ld: cannot find -lrtnl collect2: error: ld returned 1 exit status Makefile:465: recipe for target 'testrtnl_plugin.la' failed Change-Id: I60c7c33baa3958c26749e4507e9d5bebb65a3519 Signed-off-by: Jeff Shaw --- netlink/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netlink') diff --git a/netlink/Makefile.am b/netlink/Makefile.am index 8e3b47b..85023f8 100644 --- a/netlink/Makefile.am +++ b/netlink/Makefile.am @@ -31,7 +31,7 @@ lib_LTLIBRARIES += testrtnl_plugin.la testrtnl_plugin_la_SOURCES = test/test.c testrtnl_plugin_la_LDFLAGS = -module -testrtnl_plugin_la_LIBADD = -lrtnl +testrtnl_plugin_la_LIBADD = librtnl.la if WITH_PLUGIN_TOOLKIT install-data-hook: -- cgit 1.2.3-korg