diff --git a/packages/libgcc/build.sh b/packages/libgcc/build.sh new file mode 100644 index 000000000..712ae9751 --- /dev/null +++ b/packages/libgcc/build.sh @@ -0,0 +1,9 @@ +TERMUX_PKG_HOMEPAGE=https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html +TERMUX_PKG_DESCRIPTION="GCC low-level runtime library" +TERMUX_PKG_VERSION=4.9 +TERMUX_PKG_KEEP_STATIC_LIBRARIES="true" + +termux_step_extract_into_massagedir () { + mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/ + cp $TERMUX_STANDALONE_TOOLCHAIN/lib/gcc/$TERMUX_HOST_PLATFORM/4.9/libgcc.a $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/ +}