3
0

ssl_helper.sh 336 B

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