mk: fix link to not combined libraries
authorYong Liu <yong.liu@intel.com>
Wed, 17 Dec 2014 09:20:44 +0000 (17:20 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 17 Dec 2014 10:59:13 +0000 (11:59 +0100)
commit0731b5e07c42115eb214e507d72b0993521c6518
tree14426deb60660fd7bbb20a34881527eb2c8a5dd7
parent3c3028111fa304436b800dbf2c7c27657476f3da
mk: fix link to not combined libraries

Commit 944088c2abbe ("fix link to combined library") introduced
a check with a wrong configuration option name.
So link is broken in the case combined library is not enabled.

main.o: In function `rte_pktmbuf_free':
main.c:(.text+0x9c): undefined reference to `per_lcore__lcore_id'

Signed-off-by: Yong Liu <yong.liu@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
[Thomas: fix option name in comments]
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.app.mk