[Buildroot] [PATCH 1/2] lua: fix dynamic library install

Peter Korsgaard peter at korsgaard.com
Fri Oct 5 20:04:46 UTC 2018


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > In 0002-shared-libs-for-lua.patch, revision number is used to set
 > library name:
 > TO_SOLIB = liblua.so.$(R)

 > However, library is built using PKG_VERSION which is passed only during
 > build step:
 > $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?

 > As a result, dynamic library is not installed in staging or target paths
 > since bump to lua 5.3.5

 > So, instead of replacing R by PKG_VERSION and passing this variable in
 > all steps, simply update R to 5

 > Fixes:
 >  - http://autobuild.buildroot.net/results/28b6672188bb0082ac1467d3b45904880e3634f3

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2018.08.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list