mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
da186ae269
commit
3702300cbb
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue