numam-spdk/mk
Jim Harris 5e181ba84f build: explicitly link unit tests with static libraries
Unit tests define mock functions in the unit test code
itself.  This links fine with static libraries, but
doesn't work if trying to link with shared libraries.

So change the unit tests to always explicitly link
with the static libraries.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I3a8a60162fcab6c73a216c4bb364175767fdc62c

Reviewed-on: https://review.gerrithub.io/422441
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-16 14:27:18 +00:00
..
nvme.libtest.mk build: add sock dependency for all NVMe lib users 2018-06-22 17:09:57 +00:00
spdk.app.mk build: explicitly link unit tests with static libraries 2018-08-16 14:27:18 +00:00
spdk.common.mk shared_lib: Update shared lib build and install 2018-08-16 00:27:53 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib.mk build: add dummy @: to some "all" targets 2018-02-14 10:40:40 -05:00
spdk.mock.unittest.mk test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
spdk.modules.mk build: Only link virtio bdev module if CONFIG_VIRTIO is 'y' 2018-07-20 20:22:01 +00:00
spdk.subdirs.mk Make: remove -e from subdirectory command 2018-02-21 13:10:29 -05:00
spdk.unittest.mk build: explicitly link unit tests with static libraries 2018-08-16 14:27:18 +00:00