# HG changeset patch # User lucabe # Date 1155758987 0 # Node ID 0e37275ccbe5a4abf71604a66049fe5173cb21e5 # Parent 37decab2ed46ae00c5ce91d72eced0331efb3b7e Fix compilation as a win32 shared library (libavutil must be explicitly linked) diff -r 37decab2ed46 -r 0e37275ccbe5 libswscale/Makefile --- a/libswscale/Makefile Wed Aug 16 20:04:43 2006 +0000 +++ b/libswscale/Makefile Wed Aug 16 20:09:47 2006 +0000 @@ -5,6 +5,7 @@ ifeq ($(BUILD_SHARED),yes) LIBVERSION=$(SWSVERSION) LIBMAJOR=$(SWSMAJOR) +EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) endif # NOTE: -I.. is needed to include config.h