summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 19:27:05 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 19:27:05 +0000
commitf766c4ca6461faf02a5fb3c2453c8458bf357bb3 (patch)
tree8cd80e8560b1d15f9f37950fffc3706447961ac1 /Makefile
parent21e391d82160ac29ec0f53146cec8f5042d28460 (diff)
downloadmpv-f766c4ca6461faf02a5fb3c2453c8458bf357bb3.tar.bz2
mpv-f766c4ca6461faf02a5fb3c2453c8458bf357bb3.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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