diff options
author | Jeff Shaw <jeffrey.b.shaw@intel.com> | 2016-06-29 09:12:09 -0700 |
---|---|---|
committer | Jeff Shaw <jeffrey.b.shaw@intel.com> | 2016-06-29 09:23:41 -0700 |
commit | f7b47573a300f29fdc599e6adc8be20c2dee6313 (patch) | |
tree | 743e1cf4a912df9ad8a0e820a85a59189e7ef9a4 | |
parent | 41d2e7883d069b7c2fe856ca7dc374d200e3a478 (diff) |
[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 <jeffrey.b.shaw@intel.com>
-rw-r--r-- | netlink/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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: |