Browse Source

Move MinGW LDFLAGS setting to configure.

Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
7b0cd9ee2b
2 changed files with 1 additions and 5 deletions
  1. +0
    -5
      common.mak
  2. +1
    -0
      configure

+ 0
- 5
common.mak View File

@@ -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


+ 1
- 0
configure View File

@@ -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"


Loading…
Cancel
Save