# HG changeset patch # User diego # Date 1209566058 0 # Node ID f865a9546178465b96de876f183832b7d397f689 # Parent 6559b9364ca3d43f446f60d93c325fdcfed7d617 Link loader test files against mp_msg-mencoder.o instead of mp_msg.o. The former does not pick up GUI dependencies. diff -r 6559b9364ca3 -r f865a9546178 Makefile --- a/Makefile Wed Apr 30 14:29:17 2008 +0000 +++ b/Makefile Wed Apr 30 14:34:18 2008 +0000 @@ -802,7 +802,7 @@ libvo/aspecttest$(EXESUF): libvo/aspecttest.c libvo/aspect.o libvo/geometry.o mp_msg-mencoder.o mp_fifo.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm -LOADER_TEST_OBJS = $(filter loader/%,$(SRCS_COMMON:.c=.o)) libmpdemux/aviprint.o cpudetect.o mp_msg.o mp_fifo.o osdep/mmap_anon.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm +LOADER_TEST_OBJS = $(filter loader/%,$(SRCS_COMMON:.c=.o)) libmpdemux/aviprint.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/mmap_anon.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm loader/qtx/list$(EXESUF) loader/qtx/qtxload$(EXESUF): CFLAGS += -g loader/qtx/list$(EXESUF): loader/qtx/list.c $(LOADER_TEST_OBJS)