From: Diego Biurrun Date: Mon, 10 Jul 2006 00:19:38 +0000 (+0000) Subject: Move MinGW LDFLAGS setting to configure. X-Git-Tag: v0.5~12432 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b0cd9ee2b09e5c6d7e11b3cc05e7839b3809b40;p=platform%2Fupstream%2Flibav.git Move MinGW LDFLAGS setting to configure. Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/common.mak b/common.mak index be7d476eb..cdafa60ae 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 2dd5bf976..007525043 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"