Message ID | 1421080446-19249-14-git-send-email-sergio.gonzalez.monroy@intel.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/exec-env/linuxapp/rte.vars.mk index e5af318..dc01ce9 100644 --- a/mk/exec-env/linuxapp/rte.vars.mk +++ b/mk/exec-env/linuxapp/rte.vars.mk @@ -49,6 +49,8 @@ endif EXECENV_LDFLAGS = --no-as-needed EXECENV_LDLIBS = -lrt -lm +EXECENV_LDLIBS += -lpthread + EXECENV_ASFLAGS = ifeq ($(RTE_BUILD_SHARED_LIB),y)
We need to add -lpthread to EXECENV_LDLIBS because we are not passing -pthread flags in EXECENV_CFLAGS to GCC when linking apps/ Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com> --- mk/exec-env/linuxapp/rte.vars.mk | 2 ++ 1 file changed, 2 insertions(+)