On Wed, Oct 07, 2026 at 02:39:31PM -0700, Stephen Hemminger wrote:
> The export for rte_basename was missed on the Windows version.
> If it is a public API it needs to be on all OS's supported.
>
> Fixes: b8a75ece45fe ("eal: add basename function for common path
> manipulation")
> Cc: [email protected]
>
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>
> lib/eal/windows/rte_basename.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/lib/eal/windows/rte_basename.c b/lib/eal/windows/rte_basename.c
> index f4dfc08a0a..ede913e6c1 100644
> --- a/lib/eal/windows/rte_basename.c
> +++ b/lib/eal/windows/rte_basename.c
> @@ -4,8 +4,10 @@
>
> #include <string.h>
> #include <stdlib.h>
> +#include <eal_export.h>
> #include <rte_string_fns.h>
>
> +RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_basename, 25.11)
> size_t
> rte_basename(const char *path, char *buf, size_t buflen)
> {
> --
> 2.53.0
>