From 5694a4de6a378a882c14e176bfaec1d325ebe130 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 7 Dec 2014 20:33:57 +0100 Subject: [PATCH] build: Add missing cpp flags. The directories passed as arguments to --with-flac-headers, --with-samplerate-headers and --with-readline-headers are searched for header files at configure time, but we ignore these directories when compiling the source tree. This commit should fix this. --- Makefile.in | 3 +++ Makefile.real | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/Makefile.in b/Makefile.in index a869c890..8e7e7760 100644 --- a/Makefile.in +++ b/Makefile.in @@ -45,6 +45,9 @@ mad_cppflags := @mad_cppflags@ faad_cppflags := @faad_cppflags@ curses_cppflags := @curses_cppflags@ ao_cppflags := @ao_cppflags@ +flac_cppflags := @flac_cppflags@ +samplerate_cppflags := @samplerate_cppflags@ +readline_cppflags := @readline_cppflags@ clock_gettime_ldflags := @clock_gettime_ldflags@ id3tag_ldflags := @id3tag_ldflags@ diff --git a/Makefile.real b/Makefile.real index ee77cafc..fb99679a 100644 --- a/Makefile.real +++ b/Makefile.real @@ -190,11 +190,19 @@ $(object_dir)/%.o: %.c | $(object_dir) $(object_dir)/opus%.o $(dep_dir)/opus%.d: CPPFLAGS += $(opus_cppflags) $(object_dir)/gui%.o $(dep_dir)/gui%.d: CPPFLAGS += $(curses_cppflags) $(object_dir)/spx%.o $(dep_dir)/spx%.d: CPPFLAGS += $(speex_cppflags) +$(object_dir)/flac%.o $(dep_dir)/flac%.d: CPPFLAGS += $(flac_cppflags) + $(object_dir)/mp3_afh.o $(dep_dir)/mp3_afh.d: CPPFLAGS += $(id3tag_cppflags) $(object_dir)/crypt.o $(dep_dir)/crypt.d: CPPFLAGS += $(openssl_cppflags) $(object_dir)/gcrypt.o $(dep_dir)/gcrypt.d: CPPFLAGS += $(gcrypt_cppflags) $(object_dir)/ao_write.o $(dep_dir)/ao_write.d: CPPFLAGS += $(ao_cppflags) +$(object_dir)/interactive.o $(dep_dir)/interactive.d \ +: CPPFLAGS += $(readline_cppflags) + +$(object_dir)/resample_filter.o $(dep_dir)/resample_filter.d \ +: CPPFLAGS += $(samplerate_cppflags) + $(object_dir)/mp3dec_filter.o $(dep_dir)/mp3dec_filter.d \ : CPPFLAGS += $(mad_cppflags) -- 2.39.5