Skip to content

Commit cd944c1

Browse files
gugfix: fixed Makefile.
1 parent 91ca29d commit cd944c1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ LUA_CMODULE_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
2323
LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION)
2424
LUA_BIN_DIR ?= $(PREFIX)/bin
2525

26-
AR= $(CC) -o
27-
2826
##### Platform overrides #####
2927
##
3028
## Tweak one of the platform sections below to suit your situation.
@@ -99,7 +97,7 @@ all: $(TARGET)
9997
doc: manual.html performance.html
10098

10199
$(TARGET): $(OBJS)
102-
$(AR) $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS)
100+
$(CC) -o $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS)
103101

104102
install: $(TARGET)
105103
mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR)

0 commit comments

Comments
 (0)