summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/cjson/cjson.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk
index dd6401074..ccc60102d 100644
--- a/package/cjson/cjson.mk
+++ b/package/cjson/cjson.mk
@@ -23,7 +23,7 @@ define CJSON_INSTALL_STAGING_CMDS
endef
define CJSON_INSTALL_TARGET_CMDS
- $(INSTALL) -D $(@D)/cJSON/cJSON.h $(STAGING_DIR)/usr/include/cJSON.h
+ $(INSTALL) -D $(@D)/cJSON/cJSON.h $(TARGET_DIR)/usr/include/cJSON.h
$(INSTALL) -D $(@D)/cJSON/libcJSON.so $(TARGET_DIR)/usr/lib/libcJSON.so
endef