summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-22 18:27:28 +0100
committerNao Pross <naopross@thearcway.org>2019-01-22 18:30:07 +0100
commit736ec71fce673d5aa88228b96acfe6c6862a2232 (patch)
tree256397bcdbbc07c0cd2e4c203fef9cc5a7e23f1e
parentAdd ninja build files and configure script, remove makefile (diff)
downloadlibwsdl2-736ec71fce673d5aa88228b96acfe6c6862a2232.tar.gz
libwsdl2-736ec71fce673d5aa88228b96acfe6c6862a2232.zip
Update configure.py to build a static target
-rwxr-xr-xconfigure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 681861b..d6f2199 100755
--- a/configure.py
+++ b/configure.py
@@ -31,7 +31,8 @@ with open("build.ninja", "w") as bf:
print("build {}: cpp {}".format(o, s), file=bf)
# build engine library
- print("\nbuild build/libwsdl2.so: link-shared " + " ".join(objects) + "\n", file=bf)
+ print("\nbuild build/libwsdl2.so: link-shared " + " ".join(objects), file=bf)
+ print("\nbuild build/libwsdl2.a: link-static " + " ".join(objects), file=bf)
# find test sources