2015-10-07 05:09:40 +05:30
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
|
2015-10-07 05:30:11 +05:30
|
|
|
PREFIX="i686-"
|
|
|
|
STATIC="-static"
|
2015-10-07 05:09:40 +05:30
|
|
|
# Standard build:
|
|
|
|
#PREFIX=""
|
|
|
|
#STATIC=""
|
|
|
|
|
2016-12-22 19:43:37 +05:30
|
|
|
${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 20:42:46 +05:30
|
|
|
${PREFIX}strip ssl_helper
|