mk: eliminate duplicates from libraries list
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 21 Mar 2016 11:33:57 +0000 (13:33 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Mar 2016 19:42:47 +0000 (20:42 +0100)
commitedf4d331dcdb757da8c50850152be4cf948d2787
treed0ff320334830391197a879cb5f8bcc2b6b91b78
parent8744d7a9450edde63769a5e46dd1aadd202007d1
mk: eliminate duplicates from libraries list

Duplicates in LDLIBS can cause link failures from multiply defined
symbols, ensure all libraries are only mentioned once. Can't use
sorting for duplicate elimination as order is critical so awk one-liner
is used.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
mk/rte.app.mk