changeset 5951:042aa5ff94d0

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.
author atmos4
date Fri, 03 May 2002 19:27:05 +0000
parents 184f37880f90
children a9d61459a741
files Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri May 03 19:23:15 2002 +0000
+++ b/Makefile	Fri May 03 19:27:05 2002 +0000
@@ -193,6 +193,7 @@
 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 @@
 
 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