update alsa-lib to 1.0.11, fix compile on mac os x
[openwrt/svn-archive/archive.git] / libs / alsa-lib / patches / 01-link_fix.patch
1 diff -ur alsa.old/src/Makefile.in alsa.dev/src/Makefile.in
2 --- alsa.old/src/Makefile.in 2006-04-19 09:50:27.000000000 +0200
3 +++ alsa.dev/src/Makefile.in 2006-10-14 17:16:10.000000000 +0200
4 @@ -360,7 +360,7 @@
5 rm -f "$${dir}/so_locations"; \
6 done
7 libasound.la: $(libasound_la_OBJECTS) $(libasound_la_DEPENDENCIES)
8 - $(LINK) -rpath $(libdir) $(libasound_la_LDFLAGS) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS)
9 + $(LINK) -rpath $(DESTDIR)$(libdir) $(libasound_la_LDFLAGS) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS)
10
11 mostlyclean-compile:
12 -rm -f *.$(OBJEXT)
13 diff -ur alsa.old/src/pcm/scopes/Makefile.in alsa.dev/src/pcm/scopes/Makefile.in
14 --- alsa.old/src/pcm/scopes/Makefile.in 2006-04-19 09:50:38.000000000 +0200
15 +++ alsa.dev/src/pcm/scopes/Makefile.in 2006-10-14 17:16:38.000000000 +0200
16 @@ -317,7 +317,7 @@
17 rm -f "$${dir}/so_locations"; \
18 done
19 scope-level.la: $(scope_level_la_OBJECTS) $(scope_level_la_DEPENDENCIES)
20 - $(LINK) -rpath $(pkglibdir) $(scope_level_la_LDFLAGS) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS)
21 + $(LINK) -rpath $(DESTDIR)$(pkglibdir) $(scope_level_la_LDFLAGS) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS)
22
23 mostlyclean-compile:
24 -rm -f *.$(OBJEXT)