libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windres on mingw32 and cygwin


From: Jason Curl
Subject: Re: windres on mingw32 and cygwin
Date: Sat, 13 Dec 2008 21:05:52 +0100
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

Ralf Wildenhues wrote:
* Jason Curl wrote on Sat, Dec 13, 2008 at 06:00:31PM CET:
Ralf Wildenhues wrote:
* Jason Curl wrote on Sat, Dec 13, 2008 at 04:57:02PM CET:
/bin/sh ../../libtool   --tag=RC --mode=compile windres  rsrc.rc -o rsrc.lo
libtool: compile:  windres rsrc.rc  -o .libs/rsrc.o
libtool: compile:  windres rsrc.rc >/dev/null 2>&1

# A language specific compiler.
CC=""

# How to pass a linker flag through the compiler.
wl=""

# Additional compiler flags for building library objects.
pic_flag=""

# Does compiler simultaneously support -c and -o options?
compiler_c_o=""

This is your problem.  I guess you're missing an
  LT_LANG([Windows Resource])
I have a macro that calls this for me.

AC_DEFUN([LX_PROG_RC],
[AS_IF([test x$ac_cv_prog_ac_ct_RC = x], [LT_LANG([Windows Resource])], [])
  AM_CONDITIONAL([HAVE_WINDRES], [test x$ac_cv_prog_ac_ct_RC != x])
 ])

Looks like that isn't working properly, because the AM_CONDITIONAL was setting HAVE_WINDRES else I wouldn't be compiling the rsrc.rc file at all.
in configure.ac (after LT_INIT), which I guess makes the '-c -o' test
for windres fail.

Cheers,
Ralf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]