nvme: fix libuuid test when cross compiling
authorBaruch Siach <baruch@tkos.co.il>
Wed, 9 Aug 2017 06:59:09 +0000 (09:59 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 9 Aug 2017 21:00:51 +0000 (23:00 +0200)
commit8e13f7e11eecd7cb0c6f4f83ec4f1ff7a98b9fee
treeae63da16dc97d5e2cf6d5a08754dc8699ba785f7
parent6e6208ea794262e4e629efb7c1bbb601d1fa2abc
nvme: fix libuuid test when cross compiling

Use $(LD) to test whether libuuid is installed, so that we check the target,
not the host.

Fixes:
http://autobuild.buildroot.net/results/e26/e263ffbf8947374c2aac73ab42edcbf4d9a3600a/
http://autobuild.buildroot.net/results/53b/53b2d1e0c3cdeafb980389bcfd8a10b6ca48fbc2/

Cc: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/nvme/0001-Makefile-allow-linker-override-for-cross-uuid-test.patch [new file with mode: 0644]