Index: aconfigure.ac =================================================================== --- aconfigure.ac (revision 3126) +++ aconfigure.ac (working copy) @@ -474,6 +474,10 @@ true; else case $target in + arm-apple-darwin*) + LIBS=Ó$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolboxÓ + AC_MSG_RESULT([Checking sound device backend... AudioUnit]) + ;; *darwin*) LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" if test "`uname -r`" = "6.8"; then Index: build/rules.mak =================================================================== --- build/rules.mak (revision 3126) +++ build/rules.mak (working copy) @@ -76,8 +76,7 @@ $(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi - $(AR) $(LIB) $(OBJS) - $(RANLIB) $(LIB) + $(RANLIB) -static -o $(LIB) $(OBJS) $(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) if test ! -d $(BINDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(BINDIR)),$(HOST_MKDIR)); fi