[884672b] | 1 | diff --git a/lib/Makefile.am b/lib/Makefile.am
|
---|
| 2 | index 3c1dca7..1c2ae99 100644
|
---|
| 3 | --- a/lib/Makefile.am
|
---|
| 4 | +++ b/lib/Makefile.am
|
---|
| 5 | @@ -3,7 +3,7 @@
|
---|
| 6 | AM_CFLAGS = -Wall -I${top_srcdir}/include -D_GNU_SOURCE
|
---|
| 7 |
|
---|
| 8 | lib_LTLIBRARIES = \
|
---|
| 9 | - libnl.la libnl-genl.la libnl-nf.la libnl-route.la
|
---|
| 10 | + libnl.la libnl-genl.la libnl-route.la libnl-nf.la
|
---|
| 11 |
|
---|
| 12 | libnl_la_LDFLAGS = -version-info 2:0:0
|
---|
| 13 | libnl_la_SOURCES = \
|
---|
| 14 | diff --git a/src/Makefile.am b/src/Makefile.am
|
---|
| 15 | index 0ffc26f..da2a9f5 100644
|
---|
| 16 | --- a/src/Makefile.am
|
---|
| 17 | +++ b/src/Makefile.am
|
---|
| 18 | @@ -20,67 +20,67 @@ noinst_PROGRAMS = \
|
---|
| 19 | rtnl_utils_c = rtnl-utils.c utils.c
|
---|
| 20 |
|
---|
| 21 | genl_ctrl_list_SOURCES = genl-ctrl-list.c ctrl-utils.c utils.c
|
---|
| 22 | -genl_ctrl_list_LDADD = -lnl-genl
|
---|
| 23 | +genl_ctrl_list_LDADD = -lnl-genl -lnl
|
---|
| 24 |
|
---|
| 25 | nf_ct_list_SOURCES = nf-ct-list.c ct-utils.c utils.c
|
---|
| 26 | -nf_ct_list_LDADD = -lnl-nf
|
---|
| 27 | +nf_ct_list_LDADD = -lnl-nf -lnl-route -lnl
|
---|
| 28 | nf_log_SOURCES = nf-log.c log-utils.c ${rtnl_utils_c}
|
---|
| 29 | -nf_log_LDADD = -lnl-nf
|
---|
| 30 | +nf_log_LDADD = -lnl-nf -lnl-route -lnl
|
---|
| 31 | nf_queue_SOURCES = nf-queue.c queue-utils.c ${rtnl_utils_c}
|
---|
| 32 | -nf_queue_LDADD = -lnl-nf
|
---|
| 33 | +nf_queue_LDADD = -lnl-nf -lnl-route -lnl
|
---|
| 34 |
|
---|
| 35 | addr_c = addr-utils.c ${rtnl_utils_c}
|
---|
| 36 | nl_addr_add_SOURCES = nl-addr-add.c ${addr_c}
|
---|
| 37 | -nl_addr_add_LDADD = -lnl-route
|
---|
| 38 | +nl_addr_add_LDADD = -lnl-route -lnl
|
---|
| 39 | nl_addr_delete_SOURCES = nl-addr-delete.c ${addr_c}
|
---|
| 40 | -nl_addr_delete_LDADD = -lnl-route
|
---|
| 41 | +nl_addr_delete_LDADD = -lnl-route -lnl
|
---|
| 42 | nl_addr_list_SOURCES = nl-addr-list.c ${addr_c}
|
---|
| 43 | -nl_addr_list_LDADD = -lnl-route
|
---|
| 44 | +nl_addr_list_LDADD = -lnl-route -lnl
|
---|
| 45 |
|
---|
| 46 | link_c = link-utils.c ${rtnl_utils_c}
|
---|
| 47 | nl_link_list_SOURCES = nl-link-list.c ${link_c}
|
---|
| 48 | -nl_link_list_LDADD = -lnl-route
|
---|
| 49 | +nl_link_list_LDADD = -lnl-route -lnl
|
---|
| 50 | nl_link_set_SOURCES = nl-link-set.c ${link_c}
|
---|
| 51 | -nl_link_set_LDADD = -lnl-route
|
---|
| 52 | +nl_link_set_LDADD = -lnl-route -lnl
|
---|
| 53 | nl_link_stats_SOURCES = nl-link-stats.c ${link_c}
|
---|
| 54 | -nl_link_stats_LDADD = -lnl-route
|
---|
| 55 | +nl_link_stats_LDADD = -lnl-route -lnl
|
---|
| 56 | nl_link_ifindex2name_SOURCES = nl-link-ifindex2name.c ${rtnl_utils_c}
|
---|
| 57 | -nl_link_ifindex2name_LDADD = -lnl-route
|
---|
| 58 | +nl_link_ifindex2name_LDADD = -lnl-route -lnl
|
---|
| 59 | nl_link_name2ifindex_SOURCES = nl-link-name2ifindex.c ${rtnl_utils_c}
|
---|
| 60 | -nl_link_name2ifindex_LDADD = -lnl-route
|
---|
| 61 | +nl_link_name2ifindex_LDADD = -lnl-route -lnl
|
---|
| 62 |
|
---|
| 63 | nl_monitor_SOURCES = nl-monitor.c ${rtnl_utils_c}
|
---|
| 64 | -nl_monitor_LDADD = -lnl-route
|
---|
| 65 | +nl_monitor_LDADD = -lnl-route -lnl
|
---|
| 66 |
|
---|
| 67 | neigh_c = neigh-utils.c ${rtnl_utils_c}
|
---|
| 68 | nl_neigh_add_SOURCES = nl-neigh-add.c ${neigh_c}
|
---|
| 69 | -nl_neigh_add_LDADD = -lnl-route
|
---|
| 70 | +nl_neigh_add_LDADD = -lnl-route -lnl
|
---|
| 71 | nl_neigh_delete_SOURCES = nl-neigh-delete.c ${neigh_c}
|
---|
| 72 | -nl_neigh_delete_LDADD = -lnl-route
|
---|
| 73 | +nl_neigh_delete_LDADD = -lnl-route -lnl
|
---|
| 74 | nl_neigh_list_SOURCES = nl-neigh-list.c ${neigh_c}
|
---|
| 75 | -nl_neigh_list_LDADD = -lnl-route
|
---|
| 76 | +nl_neigh_list_LDADD = -lnl-route -lnl
|
---|
| 77 |
|
---|
| 78 | nl_neightbl_list_SOURCES = nl-neightbl-list.c ${rtnl_utils_c}
|
---|
| 79 | -nl_neightbl_list_LDADD = -lnl-route
|
---|
| 80 | +nl_neightbl_list_LDADD = -lnl-route -lnl
|
---|
| 81 |
|
---|
| 82 | qdisc_c = qdisc-utils.c ${rtnl_utils_c}
|
---|
| 83 | nl_qdisc_delete_SOURCES = nl-qdisc-delete.c ${qdisc_c}
|
---|
| 84 | -nl_qdisc_delete_LDADD = -lnl-route
|
---|
| 85 | +nl_qdisc_delete_LDADD = -lnl-route -lnl
|
---|
| 86 | nl_qdisc_list_SOURCES = nl-qdisc-list.c ${qdisc_c}
|
---|
| 87 | -nl_qdisc_list_LDADD = -lnl-route
|
---|
| 88 | +nl_qdisc_list_LDADD = -lnl-route -lnl
|
---|
| 89 |
|
---|
| 90 | route_c = route-utils.c ${rtnl_utils_c}
|
---|
| 91 | nl_route_add_SOURCES = nl-route-add.c ${route_c}
|
---|
| 92 | -nl_route_add_LDADD = -lnl-route
|
---|
| 93 | +nl_route_add_LDADD = -lnl-route -lnl
|
---|
| 94 | nl_route_delete_SOURCES = nl-route-delete.c ${route_c}
|
---|
| 95 | -nl_route_delete_LDADD = -lnl-route
|
---|
| 96 | +nl_route_delete_LDADD = -lnl-route -lnl
|
---|
| 97 | nl_route_get_SOURCES = nl-route-get.c ${route_c}
|
---|
| 98 | -nl_route_get_LDADD = -lnl-route
|
---|
| 99 | +nl_route_get_LDADD = -lnl-route -lnl
|
---|
| 100 | nl_route_list_SOURCES = nl-route-list.c ${route_c}
|
---|
| 101 | -nl_route_list_LDADD = -lnl-route
|
---|
| 102 | +nl_route_list_LDADD = -lnl-route -lnl
|
---|
| 103 |
|
---|
| 104 | nl_rule_list_SOURCES = nl-rule-list.c rule-utils.c ${rtnl_utils_c}
|
---|
| 105 | -nl_rule_list_LDADD = -lnl-route
|
---|
| 106 | +nl_rule_list_LDADD = -lnl-route -lnl
|
---|
| 107 |
|
---|
| 108 | nl_tctree_list_SOURCES = nl-tctree-list.c ${rtnl_utils_c}
|
---|
| 109 | -nl_tctree_list_LDADD = -lnl-route
|
---|
| 110 | +nl_tctree_list_LDADD = -lnl-route -lnl
|
---|