[dpdk-dev] [PATCH 0/3] Add DT_NEEDED entries to shared libs

Sergio Gonzalez Monroy sergio.gonzalez.monroy at intel.com
Wed Apr 15 11:30:27 CEST 2015


This is a split of a previous series:
http://dpdk.org/ml/archives/dev/2015-April/016257.html

The series adds proper DT_NEEDED entries to each library when building
shared libraries. The only exception is eal, which is not linked against
its dependent dpdk libraries to avoid circular dependencies.

More on this can be read in:
http://dpdk.org/ml/archives/dev/2015-January/011927.html

Sergio Gonzalez Monroy (3):
  lib: set LDLIBS for each library
  mk: use LDLIBS when linking shared libraries
  mk: update app linking flags against shared libs

 lib/librte_acl/Makefile              |  2 ++
 lib/librte_cfgfile/Makefile          |  2 ++
 lib/librte_cmdline/Makefile          |  2 ++
 lib/librte_distributor/Makefile      |  2 ++
 lib/librte_eal/bsdapp/eal/Makefile   |  2 ++
 lib/librte_eal/linuxapp/eal/Makefile |  2 ++
 lib/librte_ether/Makefile            |  5 ++++-
 lib/librte_hash/Makefile             |  2 ++
 lib/librte_ip_frag/Makefile          |  3 +++
 lib/librte_ivshmem/Makefile          |  2 ++
 lib/librte_jobstats/Makefile         |  2 ++
 lib/librte_kni/Makefile              |  2 ++
 lib/librte_kvargs/Makefile           |  2 ++
 lib/librte_lpm/Makefile              |  2 ++
 lib/librte_malloc/Makefile           |  2 ++
 lib/librte_mbuf/Makefile             |  2 ++
 lib/librte_mempool/Makefile          |  2 ++
 lib/librte_meter/Makefile            |  2 ++
 lib/librte_pipeline/Makefile         |  2 ++
 lib/librte_pmd_af_packet/Makefile    |  2 ++
 lib/librte_pmd_bond/Makefile         |  6 ++++++
 lib/librte_pmd_e1000/Makefile        |  2 ++
 lib/librte_pmd_enic/Makefile         |  3 +++
 lib/librte_pmd_fm10k/Makefile        |  2 ++
 lib/librte_pmd_i40e/Makefile         |  2 ++
 lib/librte_pmd_ixgbe/Makefile        |  2 ++
 lib/librte_pmd_mlx4/Makefile         |  2 ++
 lib/librte_pmd_null/Makefile         |  2 ++
 lib/librte_pmd_pcap/Makefile         |  2 ++
 lib/librte_pmd_ring/Makefile         |  4 +++-
 lib/librte_pmd_virtio/Makefile       |  2 ++
 lib/librte_pmd_vmxnet3/Makefile      |  2 ++
 lib/librte_pmd_xenvirt/Makefile      |  3 +++
 lib/librte_port/Makefile             |  4 ++++
 lib/librte_power/Makefile            |  2 ++
 lib/librte_reorder/Makefile          |  2 ++
 lib/librte_ring/Makefile             |  2 ++
 lib/librte_sched/Makefile            |  2 ++
 lib/librte_table/Makefile            |  4 ++++
 lib/librte_timer/Makefile            |  2 ++
 lib/librte_vhost/Makefile            |  7 +++++--
 mk/rte.app.mk                        | 36 ++++++++++++++++++++----------------
 mk/rte.lib.mk                        |  6 +++++-
 43 files changed, 124 insertions(+), 21 deletions(-)

-- 
1.9.3



More information about the dev mailing list