Skip to content

Commit c5b87a1

Browse files
committed
Bugfix: configure: Only require SVG-rendering tools if GUI is being built
1 parent dfe0b3a commit c5b87a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,8 @@ esac
780780

781781
AM_CONDITIONAL([CAN_RENDER_ICONS], [test "$can_render_icons" = "yes"])
782782
if test "$can_render_icons" != "yes"; then
783-
if test ! -f "${srcdir}/src/qt/res/rendered_icons/bitcoin.ico"; then
784-
AC_MSG_ERROR([Couldn't find ${can_render_icons} (required to build from git)])
783+
if test "$bitcoin_enable_qt" != "no" && test ! -f "${srcdir}/src/qt/res/rendered_icons/bitcoin.ico"; then
784+
AC_MSG_ERROR([Couldn't find ${can_render_icons} (required to build GUI from git)])
785785
fi
786786
AC_MSG_WARN([Couldn't find ${can_render_icons}; you won't get the Knots-branded Bitcoin icon])
787787
fi

0 commit comments

Comments
 (0)