25/01/2018 00:25, Adrien Mazarguil: > --- a/drivers/net/mlx4/Makefile > +++ b/drivers/net/mlx4/Makefile > @@ -38,7 +38,11 @@ LIB = librte_pmd_mlx4.a > SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4.c > SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4_ethdev.c > SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4_flow.c > +ifneq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) > +SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4_glue_lib.c > +else
Using this dlopen mode to manage the dependency requirement should be a decision of the user/packager. Please introduce a new option which allows to enable/disable this mode, unrelated to the DPDK compilation mode being shared or static.