Patchwork cjson: fix copy/paste error in target installation

login
register
mail settings
Submitter Danomi Manchego
Date Nov. 21, 2012, 3:21 a.m.
Message ID <1353468091-2152-1-git-send-email-danomimanchego123@gmail.com>
Download mbox | patch
Permalink /patch/200546/
State Accepted
Commit cd0f43a2c56e1ac2cb30c0af15cb7029e668a219
Headers show

Comments

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(-)
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

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