Ticket #10948: patch-Makefile

File patch-Makefile, 653 bytes (added by ecronin (Eric Cronin), 18 years ago)
Line 
1--- Makefile.orig       2006-10-24 12:08:13.000000000 -0400
2+++ Makefile    2006-10-24 12:08:45.000000000 -0400
3@@ -384,7 +384,7 @@
4                $(STATIC_LIB) \
5 
6 $(PRG):        $(MPLAYER_DEP)
7-       $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(LIBS_MPLAYER)
8+       $(LD) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(LIBS_MPLAYER)
9 
10 ifeq ($(MENCODER),yes)
11 LIBS_MENCODER = libmpcodecs/libmpencoders.a \
12@@ -392,7 +392,7 @@
13                 $(COMMON_LIBS) \
14 
15 $(PRG_MENCODER): $(MENCODER_DEP)
16-       $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
17+       $(LD) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
18 endif
19 
20 osdep/mplayer-rc.o: osdep/mplayer.rc