Fix linking failure on Mac OS X <10.4.
authorPatrice Bensoussan <patrice.bensoussan@free.fr>
Sat, 22 Oct 2005 19:10:14 +0000 (19:10 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 22 Oct 2005 19:10:14 +0000 (19:10 +0000)
patch by Patrice Bensoussan patrice = dot = bensoussan = at = gmail = . = com

Originally committed as revision 4657 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
vhook/Makefile

index eb133f1..6fd3ae8 100755 (executable)
--- a/configure
+++ b/configure
@@ -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"
index c93ad38..2941576 100644 (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
 
 ifeq ($(CONFIG_DARWIN),yes)
-       SHFLAGS += -flat_namespace
+       SHFLAGS += -flat_namespace -undefined suppress
 endif
 HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF)