numam-dpdk/mk
Thomas Monjalon b92e0297f9 mk: fix dependency on toolchain libraries
The -l options specifying libraries to link with are in LDLIBS.
But it can happen to have some libraries in other variables.
In case of a low level dependency specified in some environments
via EXTRA_LDFLAGS, there can be an unresolved issue due to a
wrong linking order. Indeed the libraries must be specified from
the higher level (dependency consumers) to the lower level (dependencies).

It is fixed by moving LDLIBS before LDFLAGS variables in the link
command line.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Tested-by: Raslan Darawsheh <rasland@mellanox.com>
2016-07-15 16:08:25 +02:00
..
arch mk: define objcopy target and arch on IBM POWER 2016-06-15 15:12:37 +02:00
exec-env mk: prevent overlinking in applications 2016-06-13 16:09:58 +02:00
internal mk: fix verbose pmdinfogen run 2016-07-08 17:07:05 +02:00
machine mk: introduce NXP dpaa2 architecture based on armv8-a 2016-05-18 16:28:45 +02:00
target/generic config: remove obsolete machine descriptions 2016-02-11 12:45:21 +01:00
toolchain mk: fix gcc-5 version on Suse 2016-03-23 11:00:14 +01:00
rte.app.mk mk: fix dependency on toolchain libraries 2016-07-15 16:08:25 +02:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.combinedlib.mk mk: fix linker script when re-building 2016-03-17 21:53:06 +01:00
rte.cpuflags.mk mk: improve ARM NEON detection 2016-03-24 17:46:58 +01:00
rte.extapp.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extlib.mk mk: remove ABI versioning for external library 2015-12-08 02:59:54 +01:00
rte.extobj.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: check shared library dependencies 2016-06-29 13:33:01 +02:00
rte.module.mk mk: quote KERNELCC to allow ccache build 2015-10-25 18:39:46 +01:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk mk: remove traces of hostapp build directory 2016-07-08 12:04:02 +02:00
rte.sdkconfig.mk mk: filter duplicate configuration entries 2016-07-11 14:41:39 +02:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: reduce PDF build commands 2015-04-03 16:13:36 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk mk: fix driver build with installed SDK 2016-07-08 17:06:59 +02:00
rte.sdkroot.mk mk: show version as a decimal integer 2016-04-07 23:05:47 +02:00
rte.sdktest.mk mk: fix autotest lists 2016-05-24 17:00:55 +02:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: stop on warning only in developer build 2016-03-03 11:33:14 +01:00