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:
parent
d7b34d0831
commit
7b0cd9ee2b
@ -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
1
configure
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user