libnl: fix automake breakage

Jan Engelhardt jengelh at medozas.de
Thu Nov 5 09:56:53 EST 2009


On Thursday 2009-11-05 13:38, Patrick McHardy wrote:

>    libnl: fix automake breakage
>    
>    libnl-route must be handled before libnl-nf in lib_LTLIBRARIES since
>    the later depends on the former.

But this is already expressed:

libnl_nf_la_LIBADD  = libnl-route.la 

and automake does normally honor this dependency (because it's expressed
as a real existing file rather than "-lnf-route"):

$ make libnl-nf.la -j8
  CC     netfilter/ct.lo
  CC     netfilter/ct_obj.lo
  CC     netfilter/log.lo
  CC     netfilter/log_msg.lo
  CC     netfilter/log_obj.lo
  CC     netfilter/log_msg_obj.lo
  CC     netfilter/netfilter.lo
  CC     netfilter/nfnl.lo
  CC     netfilter/queue.lo
  CC     netfilter/queue_msg.lo
  CC     netfilter/queue_msg_obj.lo
  CC     netfilter/queue_obj.lo
  CC     route/addr.lo
  CC     route/class.lo
  CC     route/class_api.lo
  CC     route/class_obj.lo
  CC     route/cls.lo
  CC     route/cls_api.lo
  CC     route/cls_obj.lo
  CC     route/link.lo
  CC     route/neigh.lo
  CC     route/neightbl.lo
  CC     route/nexthop.lo
  CC     route/qdisc.lo
  CC     route/qdisc_api.lo
  CC     route/qdisc_obj.lo
  CC     route/route.lo
  CC     route/route_obj.lo
  CC     route/route_utils.lo
  CC     route/rtnl.lo
  CC     route/rule.lo
  CC     route/tc.lo
  CC     route/cls/fw.lo
  CC     route/cls/police.lo
  CC     route/cls/u32.lo
  CC     route/link/api.lo
  CC     route/link/vlan.lo
  CC     route/sch/blackhole.lo
  CC     route/sch/cbq.lo
  CC     route/sch/dsmark.lo
  CC     route/sch/fifo.lo
  CC     route/sch/htb.lo
  CC     route/sch/netem.lo
  CC     route/sch/prio.lo
  CC     route/sch/red.lo
  CC     route/sch/sfq.lo
  CC     route/sch/tbf.lo
  CC     fib_lookup/lookup.lo
  CC     fib_lookup/request.lo
  CC     addr.lo
  CC     attr.lo
  CC     cache.lo
  CC     cache_mngr.lo
  CC     cache_mngt.lo
  CC     data.lo
  CC     doc.lo
  CC     error.lo
  CC     handlers.lo
  CC     msg.lo
  CC     nl.lo
  CC     object.lo
  CC     socket.lo
  CC     utils.lo
  CCLD   libnl.la
  CCLD   libnl-route.la
  CCLD   libnl-nf.la
15:55 borg:~/libnl/lib >



More information about the libnl mailing list