[dpdk-dev] [PATCH] mk: fix static build without crypto
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Mar 11 15:31:19 CET 2016
2016-03-11 14:29, Olivier Matz:
> If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled, build of
> any crypto pmds will fail because of the missing dependency. The commit
> 94288d645 fixes the issue when compiled with shared libraries but there
> is still an issue at link time with static libs:
>
> LD test
> /usr/bin/ld: cannot find -lrte_pmd_null_crypto
> collect2: error: ld returned 1 exit status
>
> Only add the -l linker flags related to crypto PMDs if CRYPTODEV is
> enabled.
>
> Fixes: 94288d645 ("mk: fix build without crypto")
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
Applied, thanks
More information about the dev
mailing list