1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-16 08:10:25 +02:00

Make sure that libogg is built before libflac if the local liboog is used.

libflac needs to be linked against libogg. So we should built libogg before
libflac if we use the local libogg.
This commit is contained in:
benjamin.drung@gmail.com 2013-11-12 23:58:43 +00:00
parent cec6a0bf58
commit e143ac9ca1

View File

@ -20,7 +20,9 @@ libwidgetextra.a: widgetextra
# libogg
libogg-recursive:
ifneq (,$(findstring libogg.a,@LOCAL_LIBS@))
$(MAKE) -C libogg
endif
libogg.a: libogg-recursive
ln -sf libogg/src/.libs/libogg.a libogg.a
@ -33,7 +35,7 @@ libvorbis.a libvorbisfile.a libvorbisenc.a: libogg.a libvorbis-recursive
ln -sf libvorbis/lib/.libs/libvorbisenc.a libvorbisenc.a
# libflac
libflac-recursive:
libflac-recursive: libogg-recursive
$(MAKE) -C libflac
libFLAC++.a libFLAC.a: libflac-recursive
ln -sf libflac/src/libFLAC++/.libs/libFLAC++-static.a libFLAC++.a