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
pull/126/head
Patrice Bensoussan 19 years ago committed by Diego Biurrun
parent da186ae269
commit 3702300cbb
  1. 2
      configure
  2. 2
      vhook/Makefile

2
configure vendored

@ -330,7 +330,7 @@ v4l="no"
audio_oss="no"
dv1394="no"
ffserver="no"
SHFLAGS="-dynamiclib -Wl,-single_module,-undefined,dynamic_lookup"
SHFLAGS="-dynamiclib -Wl,-single_module"
extralibs=""
darwin="yes"
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
ifeq ($(CONFIG_DARWIN),yes)
SHFLAGS += -flat_namespace
SHFLAGS += -flat_namespace -undefined suppress
endif
HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF)

Loading…
Cancel
Save