diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 03d90fe767..c8f84d5d00 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -188,7 +188,7 @@ ifeq ($(CONFIG_WIN32),yes) $(CC) $(SHFLAGS) -Wl,--output-def,$(@:.dll=.def) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) -lib /machine:i386 /def:$(@:.dll=.def) else - $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) + $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) $(LDFLAGS) endif dsputil.o: dsputil.c dsputil.h