mk: fix ACL library static linking
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Fri, 1 Jul 2016 14:38:49 +0000 (15:38 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 1 Jul 2016 14:46:09 +0000 (16:46 +0200)
commitec03a0a97eed214a55b6fc2b18e2975ddc0e1357
treeaf2bbcb2a81ba76d09f025a8dc5ed04979d162f0
parent1ed3852fa9cd259ece5bbe257abe3c58b69b8fdb
mk: fix ACL library static linking

Since below commit, ACL library is outside the scope of --whole-archive
and ACL autotest fails.

  RTE>>acl_autotest
  ACL: allocation of 25166728 bytes on socket 9 for ACL_acl_ctx failed
  ACL: rte_acl_add_rules(acl_ctx): rule #1 is invalid
  Line 1584: SSE classify with zero categories failed!
  Test Failed

This is the result of the linker picking weak over non-weak functions.

Fixes: 95dc3c3cf31c ("mk: reduce scope of whole-archive static linking")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
mk/rte.app.mk