summaryrefslogtreecommitdiffstats
path: root/src/json_spirit.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-11-09 03:31:06 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-11-09 03:31:06 (GMT)
commit8abea457c9de523300e705ab04e26b1c82de3f4c (patch)
treeb214c740ba769c55a251adca9c8911052351bc6a /src/json_spirit.mk
parentb910ebeaa2cbdada9e4f4fe503c70319f3a929e8 (diff)
downloadmxe-8abea457c9de523300e705ab04e26b1c82de3f4c.zip
mxe-8abea457c9de523300e705ab04e26b1c82de3f4c.tar.gz
mxe-8abea457c9de523300e705ab04e26b1c82de3f4c.tar.bz2
json_spirit: Add linking test
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/json_spirit.mk')
-rw-r--r--src/json_spirit.mk4
1 files changed, 4 insertions, 0 deletions
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