changeset 20397:1685fb149c76

Properly set EXTRALIBS (fixes compilation of shared libswscale on cygwin and other platforms)
author lucabe
date Mon, 23 Oct 2006 14:03:49 +0000
parents 490b7a74a21b
children 69cb57c406a8
files libswscale/Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/Makefile	Mon Oct 23 13:26:56 2006 +0000
+++ b/libswscale/Makefile	Mon Oct 23 14:03:49 2006 +0000
@@ -7,6 +7,8 @@
 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