Commit ce314cc2 authored by ramiro's avatar ramiro

Enable swscale in vhooks only if swscale was configured.

Copied from Cygwin configure.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10073 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba0bf51c
...@@ -1163,8 +1163,12 @@ case $targetos in ...@@ -1163,8 +1163,12 @@ case $targetos in
targetos=mingw32 targetos=mingw32
shlibdir="$bindir" shlibdir="$bindir"
dv1394="no" dv1394="no"
VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libswscale -L$(BUILD_ROOT)/libavutil' VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil'
VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lswscale$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)' VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
if enabled swscaler; then
VHOOKSHFLAGS="$VHOOKSHFLAGS -L\$(BUILD_ROOT)/libswscale"
VHOOKLIBS="$VHOOKLIBS -lswscale\$(BUILDSUF)"
fi
ffserver="no" ffserver="no"
network="no" network="no"
SLIBPREF="" SLIBPREF=""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment