Mercurial > mplayer.hg
diff Makefile @ 35943:4d83191b7218
build: Restructure mp_msg-related link library handling.
This allows building tools and tests even in non-standard configurations.
author | diego |
---|---|
date | Thu, 21 Mar 2013 14:07:14 +0000 |
parents | d16e3d64b946 |
children | 691431d2289e |
line wrap: on
line diff
--- a/Makefile Thu Mar 21 14:07:00 2013 +0000 +++ b/Makefile Thu Mar 21 14:07:14 2013 +0000 @@ -1019,7 +1019,6 @@ ###### tests / tools ####### -MP_MSG_LIBS = -ltermcap -lm MP_MSG_OBJS = mp_msg.o mp_fifo.o osdep/$(GETCH) osdep/$(TIMER) libvo/aspecttest$(EXESUF): libvo/aspect.o libvo/geometry.o $(MP_MSG_OBJS) @@ -1059,7 +1058,7 @@ TOOLS/bmovl-test$(EXESUF): LIBS = -lSDL_image TOOLS/vfw2menc$(EXESUF): LIBS = -lwinmm -lole32 -TOOLS/subrip$(EXESUF): LIBS = $(MP_MSG_LIBS) +TOOLS/subrip$(EXESUF): LIBS = $(MP_MSG_LIBS) -lm TOOLS/subrip$(EXESUF): path.o sub/vobsub.o sub/spudec.o sub/unrar_exec.o \ ffmpeg/libswscale/libswscale.a ffmpeg/libavutil/libavutil.a $(MP_MSG_OBJS)