summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-05-15 14:46:59 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-05-15 14:46:59 +0000
commit124bed6fb2dfb937ea7b76121d5f8eba47d15d68 (patch)
treefb2326e2bb7d97f9515b599ab3e7b9cd8bcb7b3c /configure
parent809c767ac128f8863a9e72ddf9efbae9147fbde9 (diff)
downloadffmpeg-124bed6fb2dfb937ea7b76121d5f8eba47d15d68.tar.gz
link to ws2_32.dll only if networking is enabled
Originally committed as revision 9028 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 26227ff237..c9bbdc858e 100755
--- a/configure
+++ b/configure
@@ -1181,7 +1181,7 @@ EOF
SLIB_EXTRA_CMD="-lib /machine:i386 /def:\$(@:${SLIBSUF}=.def)"
SLIB_INSTALL_EXTRA_CMD="-install -m 644 \$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib) \"\$(shlibdir)/\$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib)\""
SHFLAGS="-shared -Wl,--output-def,\$(@:${SLIBSUF}=.def),--out-implib,lib\$(SLIBNAME:\$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc"
- add_extralibs -lws2_32
+ enabled network && add_extralibs -lws2_32
;;
cygwin*)
targetos=cygwin