cjson: fix copy/paste error in target installation

Submitted by Danomi Manchego on Nov. 21, 2012, 3:21 a.m.

Details

Message ID 1353468091-2152-1-git-send-email-danomimanchego123@gmail.com
State Accepted
Commit cd0f43a2c56e1ac2cb30c0af15cb7029e668a219
Headers show

Commit Message

Danomi Manchego Nov. 21, 2012, 3:21 a.m.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/cjson/cjson.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Korsgaard Nov. 21, 2012, 10:06 a.m.
>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:

 Danomi> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>

Committed, thanks.

Patch hide | download patch | download mbox

diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk
index dd64010..ccc6010 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