summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/admin-full/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/Makefile b/modules/admin-full/Makefile
index 77335c399b..819d13f33f 100644
--- a/modules/admin-full/Makefile
+++ b/modules/admin-full/Makefile
@@ -11,7 +11,7 @@ BWC_OBJ = src/luci-bwc.o
$(COMPILE) $(BWC_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
compile: build-clean $(BWC_OBJ)
- $(LINK) $(BWC_LDFLAGS) -o src/$(BWC_BIN) $(BWC_OBJ)
+ $(LINK) -o src/$(BWC_BIN) $(BWC_OBJ) $(BWC_LDFLAGS)
mkdir -p dist/usr/bin
cp src/$(BWC_BIN) dist/usr/bin/$(BWC_BIN)