0001-fix-for-OE.patch 896 B

1234567891011121314151617181920212223242526272829303132333435
  1. From 2e6cbd39bb99c890bcbc513dcd643c239d34f7c6 Mon Sep 17 00:00:00 2001
  2. From: Kas User <kas@example.com>
  3. Date: Tue, 22 May 2018 19:20:04 +0200
  4. Subject: [PATCH] fix for OE
  5. Signed-off-by: Kas User <kas@example.com>
  6. ---
  7. makefile | 4 +++-
  8. 1 file changed, 3 insertions(+), 1 deletion(-)
  9. --- a/makefile
  10. +++ b/makefile
  11. @@ -14,8 +14,10 @@ PLATS= macosx linux win32 mingw freebsd
  12. all: $(PLAT)
  13. +LUAV = `pkg-config --modversion lua | cut -d'.' -f1,2`
  14. +
  15. $(PLATS) none install install-unix local clean:
  16. - $(MAKE) -C src $@
  17. + $(MAKE) -C src $@ LUAV=${LUAV}
  18. print:
  19. $(MAKE) -C src $@
  20. --- a/src/makefile
  21. +++ b/src/makefile
  22. @@ -50,7 +50,7 @@ LDIR_macosx?=share/lua/$(LUAV)
  23. LUAINC_linux_base?=/usr/include
  24. LUAINC_linux?=$(LUAINC_linux_base)/lua/$(LUAV)
  25. LUAPREFIX_linux?=/usr/local
  26. -CDIR_linux?=lib/lua/$(LUAV)
  27. +CDIR_linux?=$(BASELIB)/lua/$(LUAV)
  28. LDIR_linux?=share/lua/$(LUAV)
  29. # LUAINC_freebsd: