From 7b0cd9ee2b09e5c6d7e11b3cc05e7839b3809b40 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 10 Jul 2006 00:19:38 +0000 Subject: Move MinGW LDFLAGS setting to configure. Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk --- common.mak | 5 ----- configure | 1 + 2 files changed, 1 insertion(+), 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 diff --git a/configure b/configure index 2dd5bf976c..0075250436 100755 --- 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" -- cgit v1.2.3