[dpdk-dev] [PATCH] mk: fix external shared library dependencies of libraries
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Dec 8 11:11:04 CET 2015
Hi Panu,
2015-12-08 10:30, Panu Matilainen:
> --- a/lib/librte_vhost/Makefile
> +++ b/lib/librte_vhost/Makefile
> @@ -44,10 +44,12 @@ CFLAGS += -I vhost_user
> else
> CFLAGS += -I vhost_cuse -lfuse
> LDFLAGS += -lfuse
> +LDLIBS += -lfuse
> endif
>
> ifeq ($(CONFIG_RTE_LIBRTE_VHOST_NUMA),y)
> LDFLAGS += -lnuma
> +LDLIBS += -lnuma
> endif
It looks weird to have to declare the dependencies both in
LDFLAGS and LDLIBS. What is the reason?
Can we improve it?
More information about the dev
mailing list