2015-10-07 01:39:40 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
|
2015-10-07 02:00:11 +02:00
|
|
|
PREFIX="i686-"
|
|
|
|
STATIC="-static"
|
2015-10-07 01:39:40 +02:00
|
|
|
# Standard build:
|
|
|
|
#PREFIX=""
|
|
|
|
#STATIC=""
|
|
|
|
|
2016-12-22 15:13:37 +01:00
|
|
|
${PREFIX}gcc -Os -Wall -I wolfssl-* -c ssl_helper.c -o ssl_helper.o
|
|
|
|
${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm wolfssl-*/src/.libs/libwolfssl.a --end-group -o ssl_helper
|
2016-07-25 17:12:46 +02:00
|
|
|
${PREFIX}strip ssl_helper
|