From 297fb537f78af31a1a5185e73a6d91cdb3065b23 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Tue, 8 Jan 2002 15:14:06 +0000 Subject: 'ar cr lib' without object files does not create an empty archive library using the solaris 'ar' command, the xine-lib build process fails when these non-existant archive libraries are unpacked. Add a dummy module to each of the accelerated processor specific libraries that is always added to the library to make sure static archive libraries are always created. CVS patchset: 1374 CVS date: 2002/01/08 15:14:06 --- src/libffmpeg/libavcodec/i386/Makefile.am | 9 ++++++--- src/libffmpeg/libavcodec/i386/libavcodec_mmx_dummy.c | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 src/libffmpeg/libavcodec/i386/libavcodec_mmx_dummy.c (limited to 'src/libffmpeg/libavcodec/i386') diff --git a/src/libffmpeg/libavcodec/i386/Makefile.am b/src/libffmpeg/libavcodec/i386/Makefile.am index 1620b967a..3e5187a27 100644 --- a/src/libffmpeg/libavcodec/i386/Makefile.am +++ b/src/libffmpeg/libavcodec/i386/Makefile.am @@ -14,17 +14,20 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic noinst_LTLIBRARIES = libavcodec_mmx.la -EXTRA_DIST = fdct_mmx.c \ +libavcodec_mmx_src = fdct_mmx.c \ dsputil_mmx.c mpegvideo_mmx.c \ idct_mmx.c motion_est_mmx.c \ simple_idct_mmx.c +libavcodec_mmx_dummy = libavcodec_mmx_dummy.c + +EXTRA_DIST = $(libavcodec_mmx_src) $(libavcodec_mmx_dummy) if HAVE_FFMMX -mmx_modules = $(EXTRA_DIST) +mmx_modules = $(libavcodec_mmx_src) endif -libavcodec_mmx_la_SOURCES = $(mmx_modules) +libavcodec_mmx_la_SOURCES = $(mmx_modules) $(libavcodec_mmx_dummy) noinst_HEADERS = dsputil_mmx_avg.h mmx.h diff --git a/src/libffmpeg/libavcodec/i386/libavcodec_mmx_dummy.c b/src/libffmpeg/libavcodec/i386/libavcodec_mmx_dummy.c new file mode 100644 index 000000000..04a6fc298 --- /dev/null +++ b/src/libffmpeg/libavcodec/i386/libavcodec_mmx_dummy.c @@ -0,0 +1,2 @@ + +char libavcodec_mmx_dummy; -- cgit v1.2.3