summaryrefslogtreecommitdiffstats
path: root/audio-libs/a52dec/PRE_BUILD
blob: 1b1ee1bdc19cdb63c5b4fcd6b3238abc268a1f5f (plain) (blame)
1
2
3
4
5
6
7
default_pre_build &&
cd $SOURCE_DIRECTORY &&
sedit 's!maybe_os in$!& linux-musl*|\\!' autotools/config.sub &&

if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]; then
  patch -p1 < $SPELL_DIRECTORY/fPIC.patch
fi