diff --git a/libswscale/Makefile b/libswscale/Makefile index 62aebc9a01..38a33e20a6 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -5,6 +5,7 @@ NAME=swscale ifeq ($(BUILD_SHARED),yes) LIBVERSION=$(SWSVERSION) LIBMAJOR=$(SWSMAJOR) +EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) endif # NOTE: -I.. is needed to include config.h