blob: dc52de7781b9e6f9aa24df034a51dc7d86718254
1 | #!/bin/sh |
2 | |
3 | # I use this to build static uclibc based binary using Aboriginal Linux toolchain: |
4 | PREFIX=x86_64- |
5 | STATIC=-static |
6 | # Standard build: |
7 | PREFIX="" |
8 | STATIC="" |
9 | |
10 | ${PREFIX}gcc -Os -DPOSIX -I.. -I../sampleCerts -Wall -c ssl_helper.c -o ssl_helper.o |
11 | ${PREFIX}gcc $STATIC ssl_helper.o ../libmatrixssl.a -lc ../libmatrixssl.a -o ssl_helper |
12 |