# HG changeset patch # User atmos4 # Date 1020454025 0 # Node ID 042aa5ff94d0cb9a80f7d58c42e004aff9f1d049 # Parent 184f37880f906c7bab0d9d25d69c691337269749 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. diff -r 184f37880f90 -r 042aa5ff94d0 Makefile --- 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