lua: ensure pkgconfig directory exists before installing files
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Aug 2017 20:23:03 +0000 (22:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Aug 2017 20:24:07 +0000 (22:24 +0200)
commit25a2650086ad9fe0e22e2a2c3d4e64cae396fcf1
tree5c3e47724189de7f14f42959172e9bd74714b14d
parent7ec15db9db138c71133413fbc9f354de9b74e309
lua: ensure pkgconfig directory exists before installing files

The lua staging and host installation commands generate a file in
usr/lib/pkgconfig, without first making sure that this directory
exists, which causes build failures if it doesn't. This commit adjusts
those installation commands to create this directory if needed.

Fixes:

  http://autobuild.buildroot.net/results/101c89e1d6aee942a0b1c4e4f3daf8ac2414a56c/

Based on investigation and initial (more complicated) fix provided by
Francois Perrad <francois.perrad@gadz.org>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lua/lua.mk