summaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authorlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-23 14:03:49 +0000
committerlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-23 14:03:49 +0000
commit239933c040abb71bbd06912cb03cc8e1cf77227f (patch)
tree0b10aee6657b1f5bf329826b10fb2f0b80117166 /libswscale/Makefile
parent64c874635d5ce4a680daf414a908971e1b850e4e (diff)
downloadmpv-239933c040abb71bbd06912cb03cc8e1cf77227f.tar.bz2
mpv-239933c040abb71bbd06912cb03cc8e1cf77227f.tar.xz
Properly set EXTRALIBS
(fixes compilation of shared libswscale on cygwin and other platforms) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20413 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/Makefile')
-rw-r--r--libswscale/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index 185a9ab779..29df055e5e 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -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