summaryrefslogblamecommitdiffstats
path: root/audio-drivers/alsa-lib/PRE_BUILD
blob: 258e1e5a5717554c569a60806a88bffd5e976488 (plain) (tree)
1
2
3
4
5
6
                    
                         
 


                                                                     









                                            

                                                     
  
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

if spell_ok python; then
  sed -i "s:python/:python$(installed_version python | cut -c-3)/:" \
    modules/mixer/simple/python.c
fi &&

if [[ "${ALSA_LIB_BRANCH}" == "scm" ]]; then
  touch ltconfig &&
  libtoolize --force --copy --automake &&
  aclocal -I m4 &&
  autoheader &&
  automake --foreign --copy --add-missing &&
  touch depcomp &&
  autoconf
else
  sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub
fi