2021-07-14 22:58:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-07-12 17:55:52 +00:00
|
|
|
SCRIPT_SKIP="1"
|
|
|
|
|
2021-07-14 22:58:56 +00:00
|
|
|
ffbuild_enabled() {
|
|
|
|
[[ $TARGET != linux* ]] && return -1
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerlayer() {
|
|
|
|
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
|
|
|
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerbuild() {
|
2021-12-21 00:50:55 +00:00
|
|
|
rm "$FFBUILD_PREFIX"/lib/lib*.so* || true
|
|
|
|
rm "$FFBUILD_PREFIX"/lib/*.la || true
|
2021-12-20 16:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_libs() {
|
|
|
|
echo -ldl
|
2021-07-14 22:58:56 +00:00
|
|
|
}
|