Fix linking failure on Mac OS X <10.4.

patch by Patrice Bensoussan patrice = dot = bensoussan = at = gmail = . = com

Originally committed as revision 4657 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Patrice Bensoussan 2005-10-22 19:10:14 +00:00 committed by Diego Biurrun
parent da186ae269
commit 3702300cbb
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -330,7 +330,7 @@ v4l="no"
audio_oss="no" audio_oss="no"
dv1394="no" dv1394="no"
ffserver="no" ffserver="no"
SHFLAGS="-dynamiclib -Wl,-single_module,-undefined,dynamic_lookup" SHFLAGS="-dynamiclib -Wl,-single_module"
extralibs="" extralibs=""
darwin="yes" darwin="yes"
strip="strip -x" strip="strip -x"

View File

@ -5,7 +5,7 @@ VPATH=$(SRC_PATH)/vhook
CFLAGS=-fPIC $(SHCFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavutil -DHAVE_AV_CONFIG_H CFLAGS=-fPIC $(SHCFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavutil -DHAVE_AV_CONFIG_H
ifeq ($(CONFIG_DARWIN),yes) ifeq ($(CONFIG_DARWIN),yes)
SHFLAGS += -flat_namespace SHFLAGS += -flat_namespace -undefined suppress
endif endif
HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF) HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF)