Move MinGW LDFLAGS setting to configure.
authorDiego Biurrun <diego@biurrun.de>
Mon, 10 Jul 2006 00:19:38 +0000 (00:19 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 10 Jul 2006 00:19:38 +0000 (00:19 +0000)
Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak
configure

index be7d476..cdafa60 100644 (file)
@@ -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
index 2dd5bf9..0075250 100755 (executable)
--- a/configure
+++ b/configure
@@ -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"