aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 13253d976..250360e01 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -501,11 +501,13 @@ endif
ENCODER_CFLAGS = \
$(LAME_CFLAGS) \
$(TWOLAME_CFLAGS) \
+ $(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS)) \
$(VORBISENC_CFLAGS)
ENCODER_LIBS = \
$(LAME_LIBS) \
$(TWOLAME_LIBS) \
+ $(FLAC_LIBS) \
$(VORBISENC_LIBS)
ENCODER_SRC =
@@ -529,6 +531,10 @@ endif
if ENABLE_TWOLAME_ENCODER
ENCODER_SRC += src/encoder/twolame_encoder.c
endif
+
+if ENABLE_FLAC_ENCODER
+ENCODER_SRC += src/encoder/flac_encoder.c
+endif
endif