diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2007-05-19 16:23:15 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2007-05-19 16:23:15 +0000 |
commit | d205abe9f77bc6f90b932c1bd7f03ffea2f6007e (patch) | |
tree | 5f0fac039e5af87fa22ce1b5bd54a3e3db1a343f /configure | |
parent | bf406d90e426934f12d24a943499e7bf3b5025b6 (diff) | |
download | ffmpeg-d205abe9f77bc6f90b932c1bd7f03ffea2f6007e.tar.gz |
Add --enable-auto-image-base for building mingw32 & cygwin DLLs
Originally committed as revision 9075 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1167,7 +1167,7 @@ case $targetos in SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)' 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" + SHFLAGS="-shared -Wl,--output-def,\$(@:${SLIBSUF}=.def),--out-implib,lib\$(SLIBNAME:\$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base" enabled network && add_extralibs -lws2_32 ;; cygwin*) @@ -1182,7 +1182,7 @@ case $targetos in SLIBSUF=".dll" SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)' - SHFLAGS='-shared -Wl,--out-implib=lib$(NAME).dll.a' + SHFLAGS='-shared -Wl,--out-implib=lib$(NAME).dll.a -Wl,--enable-auto-image-base' ;; linux) LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS" |