mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
78fb6ea63a
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
13 lines
358 B
Bash
Executable File
13 lines
358 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
|
|
PREFIX="i686-"
|
|
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
|
|
${PREFIX}-strip ssl_helper
|