diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2002-01-08 15:14:06 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2002-01-08 15:14:06 +0000 |
commit | 297fb537f78af31a1a5185e73a6d91cdb3065b23 (patch) | |
tree | 02145266ead11f5488d1959e211d4fd743f26987 /src/libffmpeg/libavcodec/i386 | |
parent | a8bfabbc8ca8ddf9da8028b2159da8fa6935883b (diff) | |
download | xine-lib-297fb537f78af31a1a5185e73a6d91cdb3065b23.tar.gz xine-lib-297fb537f78af31a1a5185e73a6d91cdb3065b23.tar.bz2 |
'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
Diffstat (limited to 'src/libffmpeg/libavcodec/i386')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/Makefile.am | 9 | ||||
-rw-r--r-- | src/libffmpeg/libavcodec/i386/libavcodec_mmx_dummy.c | 2 |
2 files changed, 8 insertions, 3 deletions
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; |