also link statically
authorJann Horn <jann@thejh.net>
Tue, 9 Jun 2015 15:21:35 +0000 (17:21 +0200)
committerJann Horn <jann@thejh.net>
Tue, 9 Jun 2015 15:21:35 +0000 (17:21 +0200)
compile.sh

index 5a4327b..b8e658e 100755 (executable)
@@ -83,4 +83,5 @@ done
 # ... and link!
 cd gen/obj
 $CC -shared -Wl,-soname,libjh.so -o ../libjh.so $(ls)
+ar rcs ../libjh.a $(ls)
 cd ../..