From 3409385da635da8a36f93991ad016c25f66df68a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 14 Jul 2006 16:18:59 +0000 Subject: Properly handle vhook build flags for platforms that require special handling. Removes one of the last FIXMEs from the build system. Originally committed as revision 5745 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'vhook') diff --git a/vhook/Makefile b/vhook/Makefile index 219827d3c3..dc311b83f3 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -5,12 +5,6 @@ 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 -#FIXME: This needs to be in configure/config.mak -ifeq ($(CONFIG_DARWIN),yes) - SHFLAGS = -dynamiclib -Wl,-single_module -flat_namespace \ - -undefined suppress -Wl,-install_name,$(libdir)/vhook/$@ -endif - HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF) ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF) @@ -41,7 +35,7 @@ uninstall: -rmdir "$(libdir)/vhook/" %$(SLIBSUF): %.o - $(CC) $(LDFLAGS) -g -o $@ $(SHFLAGS) $< + $(CC) $(LDFLAGS) -g -o $@ $(VHOOKFLAGS) $< clean: rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll -- cgit v1.2.3