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




_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to