Properly set EXTRALIBS
authorLuca Abeni <lucabe72@email.it>
Mon, 23 Oct 2006 14:03:49 +0000 (14:03 +0000)
committerLuca Abeni <lucabe72@email.it>
Mon, 23 Oct 2006 14:03:49 +0000 (14:03 +0000)
(fixes compilation of shared libswscale on cygwin and other platforms)

Originally committed as revision 20413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index 185a9ab..29df055 100644 (file)
@@ -7,6 +7,8 @@ LIBVERSION=$(SWSVERSION)
 LIBMAJOR=$(SWSMAJOR)
 endif
 
+EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+
 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
 ifeq ($(TARGET_ALTIVEC),yes)
 OBJS+=  yuv2rgb_altivec.o