From d4b295585417386555cb6db4c7dea99e8eff7f6c Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Thu, 30 Dec 2004 01:12:41 +0000 Subject: [PATCH] conditionalized linking with libOggFLAC --- src/test_seeking/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test_seeking/Makefile.am b/src/test_seeking/Makefile.am index bd4ac5b1..7ff931c1 100644 --- a/src/test_seeking/Makefile.am +++ b/src/test_seeking/Makefile.am @@ -22,9 +22,13 @@ EXTRA_DIST = \ CFLAGS = @CFLAGS@ @OGG_CFLAGS@ INCLUDES = +if FLaC__HAS_OGG +NEED_OGGFLAC_LIB = $(top_builddir)/src/libOggFLAC/libOggFLAC.la +endif + noinst_PROGRAMS = test_seeking test_seeking_LDADD = \ - $(top_builddir)/src/libOggFLAC/libOggFLAC.la \ + $(NEED_OGGFLAC_LIB) \ $(top_builddir)/src/libFLAC/libFLAC.la \ @OGG_LIBS@ \ -lm