diff options
author | Slavik Gnatenko <miracle9@newmail.ru> | 2003-01-11 20:34:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-11 20:34:38 +0000 |
commit | f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d (patch) | |
tree | 3f59e4e94680c16859794b5ead5ce03eb51d0c31 /libavcodec/Makefile | |
parent | 143cc725273c130220e42b7281318ae80083cda3 (diff) | |
download | ffmpeg-f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d.tar.gz |
os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r-- | libavcodec/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 8d0e8384ce..11e9603d92 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -91,9 +91,9 @@ endif SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) OBJS := $(OBJS) $(ASM_OBJS) -LIB= libavcodec.a +LIB= $(LIBPREF)avcodec$(LIBSUF) ifeq ($(BUILD_SHARED),yes) -SLIB= libavcodec.so +SLIB= $(SLIBPREF)avcodec$(SLIBSUF) endif TESTS= imgresample-test dct-test motion-test fft-test @@ -104,7 +104,9 @@ tests: apiexample cpuid_test $(TESTS) $(LIB): $(OBJS) rm -f $@ $(AR) rc $@ $(OBJS) +ifneq ($(CONFIG_OS2),yes) $(RANLIB) $@ +endif $(SLIB): $(OBJS) $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) |