Support for ffmpeg for cygwin/gcc. Off by default, enable with
authorChris Want <cwant@ualberta.ca>
Mon, 6 Feb 2006 06:34:36 +0000 (06:34 +0000)
committerChris Want <cwant@ualberta.ca>
Mon, 6 Feb 2006 06:34:36 +0000 (06:34 +0000)
     export WITH_FFMPEG=true
(and be sure to update lib/windows). Test, test, test.

source/nan_definitions.mk

index 16e288cc1b8c4b779fff5056cea0e81b118bd8a9..5b7ff8e299e4e6d5cfa0e3dc60a3727b874f14d4 100644 (file)
@@ -89,6 +89,10 @@ endif
     export NAN_SUPERLU ?= $(LCGDIR)/superlu
     ifeq ($(FREE_WINDOWS), true)
       export NAN_FTGL ?= $(LCGDIR)/gcc/ftgl
+      export NAN_FFMPEG ?= $(LCGDIR)/gcc/ffmpeg
+      export NAN_FFMPEGLIBS ?= -L$(NAN_FFMPEG)/lib -lavformat -lavutil -lavcodec
+      export NAN_FFMPEGCFLAGS ?= -I$(NAN_FFMPEG)/include
+
     else
       export NAN_FTGL ?= $(LCGDIR)/ftgl
     endif