[Buildroot] [PATCH 1/2] lua: fix pkg-config file

Peter Korsgaard peter at korsgaard.com
Tue Sep 5 21:52:29 UTC 2017


>>>>> "Jörg" == Jörg Krause <joerg.krause at embedded.rocks> writes:

 > 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'
 > ```

 > Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list