From f766c4ca6461faf02a5fb3c2453c8458bf357bb3 Mon Sep 17 00:00:00 2001 From: atmos4 Date: Fri, 3 May 2002 19:27:05 +0000 Subject: Execute darwinfixlib.sh before linking, it will only do something if on darwin, if you don't like that it is always called (I mean on all systems), I could change that, however as it's only called two times during linking I guess it's ok. If you don't like it I'll add stuff to config.mak via configure to check wether the script is required. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5952 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d99c38c2d3..4e038e2284 100644 --- a/Makefile +++ b/Makefile @@ -193,6 +193,7 @@ VIDIX_LIBS += -Lvidix -lvidix endif $(PRG): $(MPLAYER_DEP) + ./darwinfixlib.sh $(MPLAYER_DEP) $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(VO_LIBS) $(COMMON_LIBS) $(EXTRA_LIB) $(AO_LIBS) $(V_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(LIRC_LIB) $(STATIC_LIB) $(PRG_FIBMAP): fibmap_mplayer.o @@ -200,6 +201,7 @@ $(PRG_FIBMAP): fibmap_mplayer.o ifeq ($(MENCODER),yes) $(PRG_MENCODER): $(MENCODER_DEP) + ./darwinfixlib.sh $(MENCODER_DEP) libmpcodecs/libmpencoders.a $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) -Llibmpcodecs -lmpencoders $(COMMON_LIBS) $(EXTRA_LIB) $(ENCORE_LIB) $(MLIB_LIB) endif -- cgit v1.2.3