1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Move MinGW LDFLAGS setting to configure.

Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2006-07-10 00:19:38 +00:00
parent d7b34d0831
commit 7b0cd9ee2b
2 changed files with 1 additions and 5 deletions

View File

@ -5,11 +5,6 @@
SRC_DIR = $(SRC_PATH)/lib$(NAME) SRC_DIR = $(SRC_PATH)/lib$(NAME)
VPATH = $(SRC_DIR) 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) ifeq ($(TARGET_GPROF),yes)
CFLAGS+=-p CFLAGS+=-p
LDFLAGS+=-p LDFLAGS+=-p

1
configure vendored
View File

@ -1166,6 +1166,7 @@ EOF
if test "$mingwce" = "yes"; then if test "$mingwce" = "yes"; then
protocols="no" protocols="no"
fi fi
LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
SLIBPREF="" SLIBPREF=""
SLIBSUF=".dll" SLIBSUF=".dll"
EXESUF=".exe" EXESUF=".exe"