lua: fix pkg-config file
authorJörg Krause <joerg.krause@embedded.rocks>
Mon, 31 Jul 2017 21:17:59 +0000 (23:17 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 10 Aug 2017 10:54:57 +0000 (12:54 +0200)
commit8d845683e37640d33c186c0091ccce6ae3ef0777
tree87bc4964d659b0754cd0b21165dbea517f4a4031
parent7d6cd3677a1f1caab6b67fc369bd7073f687b38f
lua: fix pkg-config file

When Lua is linked with additional libraries, these libraries should go
into the pkg-config file as well.

Otherwise, linking swupdate with the lua library fails:

```
/home/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/liblua.so: undefined reference to `dlopen'
/home/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/liblua.so: undefined reference to `dlclose'
/home/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/liblua.so: undefined reference to `dlerror'
/home/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/liblua.so: undefined reference to `dlsym'
```

Fixes http://autobuild.buildroot.net/results/1c3/1c349cc5904868e4def292b9fbfa164828e46156

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/lua/5.2.4/0004-lua-pc.patch
package/lua/5.3.4/0004-lua-pc.patch
package/lua/lua.mk