summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/luci-lib-jsonc/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-jsonc/src/Makefile b/libs/luci-lib-jsonc/src/Makefile
index e15fbac382..f79423d1ff 100644
--- a/libs/luci-lib-jsonc/src/Makefile
+++ b/libs/luci-lib-jsonc/src/Makefile
@@ -7,7 +7,7 @@ JSONC_LIB = jsonc.so
$(CC) $(CPPFLAGS) $(CFLAGS) $(LUA_CFLAGS) $(JSONC_CFLAGS) $(FPIC) -c -o $@ $<
compile: $(JSONC_OBJ)
- $(CC) $(LDFLAGS) -shared -o $(JSONC_LIB) $(JSONC_OBJ) $(JSONC_LDFLAGS)
+ $(CC) $(LDFLAGS) -shared -o $(JSONC_LIB) $(JSONC_OBJ) $(JSONC_LDFLAGS) $(FPIC)
install: compile
mkdir -p $(DESTDIR)/usr/lib/lua/luci