--- libavcodec/Makefile.orig Sat Jul 17 11:07:57 2004 +++ libavcodec/Makefile Sat Jul 17 11:09:21 2004 @@ -197,7 +197,7 @@ $(CC) $(SHFLAGS) -Wl,--output-def,$(@:.dll=.def) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) -lib /machine:i386 /def:$(@:.dll=.def) else - $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) $(LDFLAGS) + $(CC) $(SHFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) endif dsputil.o: dsputil.c dsputil.h @@ -269,8 +269,8 @@ install -s -m 755 $(SLIB) "$(prefix)" else install -d $(prefix)/lib - install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so - ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so + install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec.so.1 + cd $(prefix)/lib && ln -s libavcodec.so.1 libavcodec.so ldconfig || true endif else