libqrencode: select libpng only when tools are selected

As stated on the libqrencode web site, PNG (or SDL) is only
needed for the test and utility programs; the library itself
has no dependencies.

While we are here, remove spaces in the ifeq clause, to match
the examples in the buildroot manual.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Danomi Manchego
2013-11-07 22:10:39 -05:00
committed by Peter Korsgaard
parent 0f401f9146
commit 69635dbe2f
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
config BR2_PACKAGE_LIBQRENCODE
bool "libqrencode"
select BR2_PACKAGE_LIBPNG
help
libqrencode is a C library for encoding data in a QR Code
symbol, a kind of 2D symbology that can be scanned by handy
@@ -14,6 +13,7 @@ if BR2_PACKAGE_LIBQRENCODE
config BR2_PACKAGE_LIBQRENCODE_TOOLS
bool "libqrencode tools"
select BR2_PACKAGE_LIBPNG
help
Build command-line tools