[MPlayer-dev-eng] [PATCH] fix resources in mingw build
Zuxy Meng
zuxy.meng at gmail.com
Tue Mar 27 05:37:51 CEST 2007
Hi,
2007/3/27, Gianluigi Tiesi <mplayer at netfarm.it>:
> On Sat, Mar 24, 2007 at 05:28:14PM +0100, Diego Biurrun wrote:
> > On Sat, Mar 24, 2007 at 03:57:50PM +0100, Diego Biurrun wrote:
> >
> > I've moved it, this was obviously wrong, your problem should be gone.
> >
> It doesn't work and it's very strange, to be honest I was already tried
> this without success.
>
> I've temp changed "all" target to show some vars:
>
> OBJS_MPLAYER: mplayer.o m_property.o mp_msg.o mixer.o parser-mpcmd.o subopt-helper.o command.o
> OBJS_MPLAYER-yes: osdep/mplayer-rc-rc.o
> OBJS_MPLAYER TARGET_WIN32: OBJS_MPLAYER-yes
>
> it seams that:
> OBJS_MPLAYER += $(OBJS_MPLAYER-yes)
>
> doesn't work on mingw make
> Regards
This patch should work as I've tested it.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile ?????? 22832??
+++ Makefile ????????????
@@ -93,7 +93,6 @@
SRCS_COMMON += $(SRCS_COMMON-yes)
COMMON_LIBS += $(COMMON_LIBS-yes)
LIBS_MPLAYER += $(LIBS_MPLAYER-yes)
-OBJS_MPLAYER += $(OBJS_MPLAYER-yes)
PARTS += $(PARTS-yes)
ALL_PRG += $(ALL_PRG-yes)
@@ -102,6 +101,7 @@
OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
COMMON_LIBS += osdep/libosdep.a
+OBJS_MPLAYER += $(OBJS_MPLAYER-yes)
MPLAYER_DEPS = $(OBJS_MPLAYER) $(OBJS_COMMON) $(LIBS_MPLAYER) $(COMMON_LIBS)
MENCODER_DEPS = $(OBJS_MENCODER) $(OBJS_COMMON) $(LIBS_MENCODER) $(COMMON_LIBS)
More information about the MPlayer-dev-eng
mailing list