mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
Avoid searching for windres when not building for Windows
Just checking for a windres tool might hit even on Linux systems when building for Linux (e.g.: when using Gentoo and having built binutils with multitarget support), and will then fail to link properly at the end of the build. * configure.ac: Avoid searching for windres on non windows target
This commit is contained in:
parent
edb9d54bd1
commit
9cea2af3fc
10
configure.ac
10
configure.ac
@ -1816,10 +1816,14 @@ AC_SUBST([CYGWIN_EXTRA_PYTHON_LIBADD])
|
||||
AC_SUBST([MINGW_EXTRA_LDFLAGS])
|
||||
AC_SUBST([WIN32_EXTRA_CFLAGS])
|
||||
|
||||
dnl Look for windres to build a Windows icon resource.
|
||||
AC_CHECK_TOOL([WINDRES], [windres], [no])
|
||||
AM_CONDITIONAL([WITH_WIN_ICON], [test "$WINDRES" != "no"])
|
||||
|
||||
dnl Look for windres to build a Windows icon resource.
|
||||
case "$host" in
|
||||
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
|
||||
AC_CHECK_TOOL([WINDRES], [windres], [])
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL([WITH_WIN_ICON], [test "$WINDRES" != ""])
|
||||
|
||||
|
||||
dnl Driver-Modules library
|
||||
|
Loading…
x
Reference in New Issue
Block a user