[PATCH] ./configure --windres=WINDRES
This makes it nicer to build for windows. sheba Index: vidix/dhahelperwin/Makefile =================================================================== --- vidix/dhahelperwin/Makefile (revision 25530) +++ vidix/dhahelperwin/Makefile (working copy) @@ -9,7 +9,7 @@ $(CC) -Wall -Os -c $< -o $@ dhahelper-rc.o: dhahelper.rc common.ver ntverp.h - windres -I. $< $@ + $(WINDRES) -I. $< $@ base.tmp: dhahelper.o dhahelper-rc.o $(CC) -Wl,--base-file,$@ \ Index: configure =================================================================== --- configure (revision 25530) +++ configure (working copy) @@ -400,6 +400,7 @@ --as=ASSEMBLER assembler to build MPlayer [as] --ar=AR librarian to build MPlayer [ar] --ranlib=RANLIB ranlib to build MPlayer [ranlib] + --windres=WINDRES windres to build MPlayer [windres] --target=PLATFORM target platform (i386-linux, arm-linux, etc) --enable-static build a statically linked binary --charset=charset convert the console messages to this character set @@ -478,6 +479,7 @@ _altivec=auto _install=install _ranlib=ranlib +_windres=windres _ldconfig=ldconfig _cc=cc _ar=ar @@ -770,6 +772,9 @@ --ranlib=*) _ranlib=`echo $ac_option | cut -d '=' -f 2` ;; + --windres=*) + _windres=`echo $ac_option | cut -d '=' -f 2` + ;; --charset=*) _charset=`echo $ac_option | cut -d '=' -f 2` ;; @@ -7597,6 +7602,7 @@ CXX = $_cc HOST_CC = $_host_cc RANLIB = $_ranlib +WINDRES = $_windres LDCONFIG = $_ldconfig INSTALL = $_install EXTRA_INC = $_inc_extra Index: osdep/Makefile =================================================================== --- osdep/Makefile (revision 25530) +++ osdep/Makefile (working copy) @@ -30,4 +30,4 @@ include ../mpcommon.mak mplayer-rc.o: mplayer.rc - windres -o $@ $< + $(WINDRES) -o $@ $< ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
On Wed, Dec 26, 2007 at 04:23:17PM -0800, sheba wrote:
This makes it nicer to build for windows.
"Nice" is good, an explanation why this is desirable is better. The patch is completely mangled, no wonder when you use yahoo webmail. Diego
--- Diego Biurrun <diego@biurrun.de> wrote:
On Wed, Dec 26, 2007 at 04:23:17PM -0800, sheba wrote:
This makes it nicer to build for windows.
"Nice" is good, an explanation why this is desirable is better.
It is like for as, ar, ranlib, if your windres is called some thing else..
The patch is completely mangled, no wonder when you use yahoo webmail.
I attached it maybe that will be better. sheba
Diego _______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
On Wed, Dec 26, 2007 at 04:48:07PM -0800, sheba wrote:
--- Diego Biurrun <diego@biurrun.de> wrote:
On Wed, Dec 26, 2007 at 04:23:17PM -0800, sheba wrote:
This makes it nicer to build for windows.
"Nice" is good, an explanation why this is desirable is better.
It is like for as, ar, ranlib, if your windres is called some thing else..
Is it ever called something else? If yes, when and where?
The patch is completely mangled, no wonder when you use yahoo webmail.
I attached it maybe that will be better.
much better, thanks Diego
--- Diego Biurrun <diego@biurrun.de> wrote:
On Wed, Dec 26, 2007 at 04:48:07PM -0800, sheba wrote:
--- Diego Biurrun <diego@biurrun.de> wrote:
On Wed, Dec 26, 2007 at 04:23:17PM -0800, sheba wrote:
This makes it nicer to build for windows.
"Nice" is good, an explanation why this is desirable is better.
It is like for as, ar, ranlib, if your windres is called some thing else..
Is it ever called something else? If yes, when and where?
I think that any gcc cross compiler will call it some-stuff-windres. sheba
The patch is completely mangled, no wonder when you use yahoo webmail.
I attached it maybe that will be better.
much better, thanks
Diego _______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
On Thu, Dec 27, 2007 at 12:05:32PM +0100, Mathieu SCHROETER wrote:
sheba a écrit :
Is it ever called something else? If yes, when and where?
I think that any gcc cross compiler will call it some-stuff-windres.
Like all binutils.. for example
with MinGW: i586-mingw32msvc-windres with cygwin: i686-pc-cygwin-windres
That does not mean that a binary called 'windres' does not exist. So far all cases that have been pointed out are purely hypothetical. Diego
--- Diego Biurrun <diego@biurrun.de> wrote:
On Thu, Dec 27, 2007 at 12:05:32PM +0100, Mathieu SCHROETER wrote:
sheba a écrit :
Is it ever called something else? If yes, when and where?
I think that any gcc cross compiler will call it some-stuff-windres.
Like all binutils.. for example
with MinGW: i586-mingw32msvc-windres with cygwin: i686-pc-cygwin-windres
That does not mean that a binary called 'windres' does not exist. So far all cases that have been pointed out are purely hypothetical.
Debian, for example, does not distribute a binary called windres. http://packages.debian.org/search?searchon=contents&keywords=windres&mode=path&suite=stable&arch=any sheba
Diego _______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
On Thu, Dec 27, 2007 at 05:41:38PM -0800, sheba wrote:
--- Diego Biurrun <diego@biurrun.de> wrote:
On Thu, Dec 27, 2007 at 12:05:32PM +0100, Mathieu SCHROETER wrote:
sheba a écrit :
Is it ever called something else? If yes, when and where?
I think that any gcc cross compiler will call it some-stuff-windres.
Like all binutils.. for example
with MinGW: i586-mingw32msvc-windres with cygwin: i686-pc-cygwin-windres
That does not mean that a binary called 'windres' does not exist. So far all cases that have been pointed out are purely hypothetical.
Debian, for example, does not distribute a binary called windres.
http://packages.debian.org/search?searchon=contents&keywords=windres&mode=path&suite=stable&arch=any
Patch applied. Diego
participants (3)
-
Diego Biurrun -
Mathieu SCHROETER -
sheba