From c5c85660f673e4324563a486a6463074f9f5eff8 Mon Sep 17 00:00:00 2001 From: Jann Horn Date: Tue, 9 Jun 2015 17:21:35 +0200 Subject: [PATCH 1/1] also link statically --- compile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/compile.sh b/compile.sh index 5a4327b..b8e658e 100755 --- a/compile.sh +++ b/compile.sh @@ -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 ../.. -- 2.20.1