Commit ec427adf authored by diego's avatar diego

Move MinGW LDFLAGS setting to configure.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5699 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 846b2f9b
...@@ -5,11 +5,6 @@ ...@@ -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
......
...@@ -1166,6 +1166,7 @@ EOF ...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment