openzwave: fix compilation of MinOZW
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 23 Oct 2016 17:59:11 +0000 (19:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 24 Oct 2016 15:51:02 +0000 (17:51 +0200)
commitc77f7c689ffc8c5fd139e4622bd6f9d315bbc254
treec4d8406d2339723fc50159bf055487eaf9a9f3ab
parent548b0d541c8bdd890d7af5eb3094c4a606304c63
openzwave: fix compilation of MinOZW

LIBDIR was used in cpp/examples/MinOZW/Makefile to add dynamic
libraries. However, as it was unset by default, the cross-compilation
could fail if the host had a library such as libnss3.so in /.
To fix this issue, this patch sets LIBDIR to top_buildir if it is unset

Fixes:
  http://autobuild.buildroot.net/results/68719fdf1320a69310bada6d3c47654dacdb5898

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openzwave/openzwave.hash
package/openzwave/openzwave.mk