1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

Link codec-cfg programs against mp_msg-mencoder.o instead of mp_msg.o.

The latter can pick up GUI dependencies.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26881 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-05-27 09:04:47 +00:00
parent 266f32ad0d
commit db37cb2fe7

View File

@ -736,11 +736,11 @@ codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
./codec-cfg$(EXESUF) ./etc/codecs.conf > $@
codecs2html$(EXESUF): mp_msg.o
codecs2html$(EXESUF): mp_msg-mencoder.o
$(CC) -DCODECS2HTML codec-cfg.c $^ -o $@
codec-cfg-test$(EXESUF): codecs.conf.h codec-cfg.h mp_msg.o osdep/getch2.o
$(CC) -I. -DTESTING codec-cfg.c mp_msg.o osdep/getch2.o -ltermcap -o $@
codec-cfg-test$(EXESUF): codecs.conf.h codec-cfg.h mp_msg-mencoder.o osdep/getch2.o
$(CC) -I. -DTESTING codec-cfg.c mp_msg-mencoder.o osdep/getch2.o -ltermcap -o $@
osdep/mplayer-rc.o: osdep/mplayer.rc version.h
$(WINDRES) -I. -o $@ $<