numam-dpdk/mk/exec-env
Thomas Monjalon fdb3798d6f mk: fix build of shared library with libbsd
When building DPDK with "make" and options
	CONFIG_RTE_USE_LIBBSD=y
and
	CONFIG_RTE_BUILD_SHARED_LIB=y
libbsd was not linked, resulting in compilation errors:
	undefined reference to `strlcpy'

The link option -lbsd is added in a common place for both
Linux apps and libs.
It is used in app linkage via EXECENV_LDLIBS,
and in lib linkage via the added variable EXECENV_LDLIBS-y.

Fixes: 5364de644a ("eal: support strlcpy function")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2019-02-24 23:23:57 +01:00
..
bsdapp mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
linuxapp mk: fix build of shared library with libbsd 2019-02-24 23:23:57 +01:00