summaryrefslogtreecommitdiff
path: root/networking/ssl_helper-wolfssl/ssl_helper.sh (plain)
blob: c6cbf353f13bcb0727d12286c402bb26ba0ffdb1
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.. -c ssl_helper.c -o ssl_helper.o
11${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm ../src/.libs/libwolfssl.a --end-group -o ssl_helper
12${PREFIX}strip ssl_helper
13