From cd944c13a94713a984c4593fc3639e49ae59b91d Mon Sep 17 00:00:00 2001 From: lijunlong Date: Thu, 16 Oct 2025 12:23:59 +0800 Subject: gugfix: fixed Makefile. --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c5966c5..915ed39 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,6 @@ LUA_CMODULE_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION) LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION) LUA_BIN_DIR ?= $(PREFIX)/bin -AR= $(CC) -o - ##### Platform overrides ##### ## ## Tweak one of the platform sections below to suit your situation. @@ -99,7 +97,7 @@ all: $(TARGET) doc: manual.html performance.html $(TARGET): $(OBJS) - $(AR) $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS) + $(CC) -o $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS) install: $(TARGET) mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR) -- cgit v1.2.3-55-g6feb