0003-fix-revision-number.patch 778 B

12345678910111213141516171819202122232425262728293031
  1. Fix revision number
  2. In 0002-shared-libs-for-lua.patch, revision number is used to set
  3. library name:
  4. TO_SOLIB = liblua.so.$(R)
  5. However, library is built using PKG_VERSION which is passed only during
  6. build step:
  7. $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
  8. As a result, dynamic library is not installed in staging or target paths
  9. since bump to lua 5.3.5
  10. So, instead of replacing R by PKG_VERSION and passing this variable in
  11. all steps, simply update R to 5
  12. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  13. Index: b/Makefile
  14. ===================================================================
  15. --- a/Makefile
  16. +++ b/Makefile
  17. @@ -47,6 +47,6 @@
  18. # Lua version and release.
  19. V= 5.3
  20. -R= $V.4
  21. +R= $V.5
  22. # Targets start here.
  23. all: $(PLAT)