Add necessary switches for darwin builds
This commit is contained in:
8
deps/lua/Makefile
vendored
8
deps/lua/Makefile
vendored
@@ -16,8 +16,16 @@ $(LUA_BUILDIR): $(LUA_TARBALL)
|
||||
tar -C $(LUA_BUILDIR) --strip-components=1 -xf "$(LUA_TARBALL)"
|
||||
|
||||
build: $(LUA_BUILDIR)
|
||||
$(MAKE) build_$(shell uname -s)
|
||||
|
||||
.PHONY: build_Linux
|
||||
build_Linux:
|
||||
$(MAKE) -C $(LUA_BUILDIR) -j$(shell nproc) linux
|
||||
|
||||
.PHONY: build_Darwin
|
||||
build_Darwin:
|
||||
$(MAKE) -C $(LUA_BUILDIR) -j$(shell nproc) macosx
|
||||
|
||||
$(LUA_DESTDIR): build
|
||||
if ! [ -d "$(LUA_DESTDIR)" ]; then mkdir -v "$(LUA_DESTDIR)"; fi
|
||||
$(MAKE) -C $(LUA_BUILDIR) -j$(shell nproc) install INSTALL_TOP="$(LUA_DESTDIR_ABS)"
|
||||
|
Reference in New Issue
Block a user