busybox/networking/ssl_helper-wolfssl/ssl_helper.sh
Denys Vlasenko 1c6c670ed4 wget: make openssl/ssl_helper choice configurable
I got sick of not being able to wget a https file...

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-10-07 01:39:40 +02:00

12 lines
329 B
Bash
Executable File

#!/bin/sh
# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
PREFIX=x86_64-
STATIC=-static
# Standard build:
#PREFIX=""
#STATIC=""
${PREFIX}gcc -Os -Wall -I.. -c ssl_helper.c -o ssl_helper.o
${PREFIX}gcc $STATIC --start-group ssl_helper.o -lm ../src/.libs/libwolfssl.a --end-group -o ssl_helper