mbox series

[ovs-dev,v3,0/1] fix build with DPDK 18.11 without -ldpdk

Message ID 20190205074831.10651-1-christian.ehrhardt@canonical.com
Headers show
Series fix build with DPDK 18.11 without -ldpdk | expand

Message

Christian Ehrhardt Feb. 5, 2019, 7:48 a.m. UTC
DPDK 18.11 can be built using the more modern meson build system.
In that case it no more provides the -ldpdk linker script. Instead
it is expected to use pkgconfig for linker options as well.

FYI here a build log on Ubuntu 19.04 with the three patches applied:
https://launchpadlibrarian.net/409021278/buildlog_ubuntu-disco-amd64.openvswitch_2.11.0~git20190121.4e4f80ec2-0ubuntu1~ppa5_BUILDING.txt.gz

Updates from v2:
- patches were formerly structured for reviewability, but to guarantee
  travis requirements to pass the build individually and not as a series
  they are now squashed to be acceptable

Updates from v1:
- add updated pkg.m4 to support PKG_CHECK_MODULES_STATIC
- include local pkg.m4 in configure.ac

Christian Ehrhardt (1):
  acinclude: Also use LIBS from dpkg pkg-config

 acinclude.m4 |  17 ++--
 configure.ac |   2 +
 m4/pkg.m4    | 217 +++++++++++++++++++++++++++++++++------------------
 3 files changed, 153 insertions(+), 83 deletions(-)