Browse Source

MinGW should set FFLDFLAGS and not LDFLAGS so that the LDFLAGS env var works.

Originally committed as revision 5703 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
4874eef483
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      configure

+ 2
- 1
configure View File

@@ -868,7 +868,8 @@ EOF
if test "$mingwce" = "yes"; then
protocols="no"
fi
LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
#FIXME: This ignores --extra-ldflags.
FFLDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
SLIBPREF=""
SLIBSUF=".dll"
EXESUF=".exe"


Loading…
Cancel
Save