This is the suffix to be used to compute the name of ODP and ODP helper libraries. platform can set a ODP_LIB_SUFFIX which is then exported as ODP_LIB_FLAVOR and ODP_LIB_FLAVOR_AM (for automake rules)
Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu> --- configure.ac | 1 + platform/linux-generic/m4/configure.m4 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 3e89b0a..01d6448 100644 --- a/configure.ac +++ b/configure.ac @@ -310,6 +310,7 @@ AC_SUBST([CFLAGS]) AC_SUBST([AM_LDFLAGS]) AC_SUBST([LDFLAGS]) AC_SUBST([EXEEXT]) +AC_SUBST([ODP_LIB_FLAVOR]) AC_OUTPUT AC_MSG_RESULT([ diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index d3e5528..d5a7e1f 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -38,3 +38,5 @@ m4_include([platform/linux-generic/m4/odp_schedule.m4]) AC_CONFIG_FILES([platform/linux-generic/Makefile platform/linux-generic/include/odp/api/plat/static_inline.h]) + +ODP_LIB_FLAVOR=-linux -- 2.10.1.4.g0ffc436