busybox/networking/ssl_helper-wolfssl/ssl_helper.sh
<<
>>
Prefs
   1#!/bin/sh
   2
   3# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
   4PREFIX="i686-"
   5STATIC="-static"
   6# Standard build:
   7#PREFIX=""
   8#STATIC=""
   9
  10${PREFIX}gcc -Os -Wall -I wolfssl-* -c ssl_helper.c -o ssl_helper.o
  11${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm wolfssl-*/src/.libs/libwolfssl.a --end-group -o ssl_helper
  12${PREFIX}strip ssl_helper
  13