mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-03 06:27:44 +08:00
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:

committed by
Diego Biurrun

parent
da186ae269
commit
3702300cbb
2
configure
vendored
2
configure
vendored
@ -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"
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user