diff options
| author | lijunlong <lijunlong@openresty.com> | 2025-10-16 12:23:59 +0800 |
|---|---|---|
| committer | lijunlong <lijunlong@openresty.com> | 2025-10-16 12:23:59 +0800 |
| commit | cd944c13a94713a984c4593fc3639e49ae59b91d (patch) | |
| tree | 6a951f2010890f653b4f3ee6aeef4e84a0918084 | |
| parent | 91ca29db9a4a4fd0eedaebcd5d5f3ba2ace5ae63 (diff) | |
| download | lua-cjson-cd944c13a94713a984c4593fc3639e49ae59b91d.tar.gz lua-cjson-cd944c13a94713a984c4593fc3639e49ae59b91d.tar.bz2 lua-cjson-cd944c13a94713a984c4593fc3639e49ae59b91d.zip | |
gugfix: fixed Makefile.2.1.0.15
| -rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -23,8 +23,6 @@ LUA_CMODULE_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION) | |||
| 23 | LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION) | 23 | LUA_MODULE_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION) |
| 24 | LUA_BIN_DIR ?= $(PREFIX)/bin | 24 | LUA_BIN_DIR ?= $(PREFIX)/bin |
| 25 | 25 | ||
| 26 | AR= $(CC) -o | ||
| 27 | |||
| 28 | ##### Platform overrides ##### | 26 | ##### Platform overrides ##### |
| 29 | ## | 27 | ## |
| 30 | ## Tweak one of the platform sections below to suit your situation. | 28 | ## Tweak one of the platform sections below to suit your situation. |
| @@ -99,7 +97,7 @@ all: $(TARGET) | |||
| 99 | doc: manual.html performance.html | 97 | doc: manual.html performance.html |
| 100 | 98 | ||
| 101 | $(TARGET): $(OBJS) | 99 | $(TARGET): $(OBJS) |
| 102 | $(AR) $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS) | 100 | $(CC) -o $@ $(LDFLAGS) $(CJSON_LDFLAGS) $(OBJS) |
| 103 | 101 | ||
| 104 | install: $(TARGET) | 102 | install: $(TARGET) |
| 105 | mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR) | 103 | mkdir -p $(DESTDIR)$(LUA_CMODULE_DIR) |
