diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-12 00:06:05 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-12 00:06:05 +0000 |
commit | a065c7dc482ea280d7f30f23626171a8303ec488 (patch) | |
tree | 13d772054bacf6230dab7e398517ecd906e69245 /src/libffmpeg | |
parent | ea9a0462ef4b08279957e281e2e6bc33ff4ca7ee (diff) | |
download | xine-lib-a065c7dc482ea280d7f30f23626171a8303ec488.tar.gz xine-lib-a065c7dc482ea280d7f30f23626171a8303ec488.tar.bz2 |
Rewrite external ffmpeg support by using pkg-config rather than ad-hoc tests. To change the prefix, simply change the variables from outside or add the directory containing the .pc files to PKG_CONFIG_PATH environment variable.
CVS patchset: 8222
CVS date: 2006/09/12 00:06:05
Diffstat (limited to 'src/libffmpeg')
-rw-r--r-- | src/libffmpeg/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libffmpeg/Makefile.am b/src/libffmpeg/Makefile.am index b6e1c2893..bcae2c505 100644 --- a/src/libffmpeg/Makefile.am +++ b/src/libffmpeg/Makefile.am @@ -1,8 +1,8 @@ include $(top_srcdir)/misc/Makefile.common if HAVE_FFMPEG -ff_cppflags = $(FFMPEG_CPPFLAGS) -link_ffmpeg = $(FFMPEG_LDFLAGS) $(FFMPEG_LIBS) $(FFMPEG_POSTPROC_LIBS) +AM_CFLAGS = $(FFMPEG_CFLAGS) $(FFMPEG_POSTPROC_CFLAGS) +link_ffmpeg = $(FFMPEG_LIBS) $(FFMPEG_POSTPROC_LIBS) else ff_cppflags = -I$(top_srcdir)/src/libffmpeg/libavutil link_ffmpeg = \ @@ -32,12 +32,12 @@ xineplug_decode_ff_la_SOURCES = xine_decoder.c audio_decoder.c video_decoder.c \ mpeg_parser.c endif -xineplug_decode_ff_la_CFLAGS = $(VISIBILITY_FLAG) +xineplug_decode_ff_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) xineplug_decode_ff_la_LDFLAGS = -avoid-version -module @IMPURE_TEXT_LDFLAGS@ xineplug_decode_ff_la_LIBADD = $(MLIB_LIBS) $(XINE_LIB) -lm $(ZLIB_LIBS) \ $(link_ffmpeg) $(THREAD_LIBS) -xineplug_decode_dvaudio_la_CFLAGS = $(VISIBILITY_FLAG) +xineplug_decode_dvaudio_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) xineplug_decode_dvaudio_la_LDFLAGS = -avoid-version -module xineplug_decode_dvaudio_la_SOURCES = dvaudio_decoder.c xineplug_decode_dvaudio_la_LIBADD = $(XINE_LIB) |