void-packages/srcpkgs/lua51-mpack/patches/cross.patch

12 lines
341 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@
CFLAGS += -DLUA_C89_NUMBERS
endif
-LUA_IMPL ?= lua-$(MPACK_LUA_VERSION_NOPATCH)
+LUA_IMPL ?= lua$(MPACK_LUA_VERSION_NOPATCH)
LUA_INCLUDE ?= $(shell $(PKG_CONFIG) --cflags $(LUA_IMPL) 2>/dev/null || echo "-I/usr/include/lua$(MPACK_LUA_VERSION_NOPATCH)")
INCLUDES = $(LUA_INCLUDE)
LIBS =