diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-07-24 23:45:09 +0400 |
---|---|---|
committer | Tristan Matthews <le.businessman@gmail.com> | 2014-07-25 01:04:44 +0400 |
commit | e1b1eeabce815283c5bbc42016a9d6a11eda2866 (patch) | |
tree | 82b4992217fb5432d682f8fc551019e786f90fd0 /src | |
parent | f351061ddf340d7459dfd78e79e5083d6df11a39 (diff) |
build: Use pkgconf macros to check for ogg presence
And make the selection not automagic.
Unbreaks cross-building w/out ogg.
Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ed4cece..84d3899 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,6 +16,8 @@ noinst_HEADERS = wav_io.h bin_PROGRAMS = speexenc speexdec +CFLAGS += $(OGG_CFLAGS) + speexenc_SOURCES = speexenc.c wav_io.c skeleton.c speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la \ $(OGG_LIBS) @FFT_LIBS@ @SPEEXDSP_LIBS@ |