Showing 1 changed files with 12 additions and 0 deletions
+12
build-musl-sqlite.sh
... ...
@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+OUTPUT=http-okay-sqlite-musl-upx
3
+rm -f http-okay
4
+musl-gcc -I. main-sqlite.c  sqlite3.c -static -o $OUTPUT
5
+ls -l $OUTPUT
6
+if [ "$1" != "" ]
7
+then
8
+  strip $OUTPUT
9
+  upx -9 --ultra-brute $OUTPUT
10
+  ls -l $OUTPUT
11
+fi
12
+ln -s $OUTPUT http-okay