From 8abea457c9de523300e705ab04e26b1c82de3f4c Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sat, 8 Nov 2014 22:31:06 -0500 Subject: json_spirit: Add linking test Signed-off-by: Timothy Gu --- src/json_spirit.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/json_spirit.mk b/src/json_spirit.mk index 92baaed..798a06f 100644 --- a/src/json_spirit.mk +++ b/src/json_spirit.mk @@ -36,4 +36,8 @@ define $(PKG)_BUILD -DBoost_THREADAPI=win32 $(MAKE) -C '$(1).build' -j '$(JOBS)' VERBOSE=1 || $(MAKE) -C '$(1)' -j 1 VERBOSE=1 $(MAKE) -C '$(1).build' -j 1 install VERBOSE=1 + + $(TARGET)-g++ \ + '$(1)/json_demo/json_demo.cpp' \ + -o '$(PREFIX)/$(TARGET)/bin/test-json_spirit.exe' -ljson_spirit endef -- cgit v0.12