Ticket #1050: configure-diff.txt

File configure-diff.txt, 1.1 KB (added by ming, 14 years ago)
Line 
1Index: aconfigure.ac
2===================================================================
3--- aconfigure.ac       (revision 3126)
4+++ aconfigure.ac       (working copy)
5@@ -474,6 +474,10 @@
6   true;
7 else
8  case $target in
9+  arm-apple-darwin*)
10+       LIBS=Ó$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolboxÓ
11+       AC_MSG_RESULT([Checking sound device backend... AudioUnit])
12+       ;;
13   *darwin*)
14        LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox"
15        if test "`uname -r`" = "6.8"; then
16Index: build/rules.mak
17===================================================================
18--- build/rules.mak     (revision 3126)
19+++ build/rules.mak     (working copy)
20@@ -76,8 +76,7 @@
21 
22 $(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP)
23        if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi
24-       $(AR) $(LIB) $(OBJS)
25-       $(RANLIB) $(LIB)
26+       $(RANLIB) -static -o $(LIB) $(OBJS)
27 
28 $(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP)
29        if test ! -d $(BINDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(BINDIR)),$(HOST_MKDIR)); fi