diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-07-10 00:19:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-07-10 00:19:38 +0000 |
commit | 7b0cd9ee2b09e5c6d7e11b3cc05e7839b3809b40 (patch) | |
tree | f4276c73e3fc50e99ed62c1fcfa9dcfd2206faa0 | |
parent | d7b34d08317ec559c6ae19f1b63c1f4845c0fd27 (diff) | |
download | ffmpeg-7b0cd9ee2b09e5c6d7e11b3cc05e7839b3809b40.tar.gz |
Move MinGW LDFLAGS setting to configure.
Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | common.mak | 5 | ||||
-rwxr-xr-x | configure | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/common.mak b/common.mak index be7d476eb3..cdafa60ae8 100644 --- a/common.mak +++ b/common.mak @@ -5,11 +5,6 @@ SRC_DIR = $(SRC_PATH)/lib$(NAME) VPATH = $(SRC_DIR) -#FIXME: This should be in configure/config.mak -ifeq ($(CONFIG_WIN32),yes) -LDFLAGS = -Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -endif - ifeq ($(TARGET_GPROF),yes) CFLAGS+=-p LDFLAGS+=-p @@ -1166,6 +1166,7 @@ EOF if test "$mingwce" = "yes"; then protocols="no" fi + LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a) SLIBPREF="" SLIBSUF=".dll" EXESUF=".exe" |