summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/libqrencode/Config.in2
-rw-r--r--package/libqrencode/libqrencode.mk6
2 files changed, 4 insertions, 4 deletions
diff --git a/package/libqrencode/Config.in b/package/libqrencode/Config.in
index e8fc1d420..b86662621 100644
--- a/package/libqrencode/Config.in
+++ b/package/libqrencode/Config.in
@@ -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
diff --git a/package/libqrencode/libqrencode.mk b/package/libqrencode/libqrencode.mk
index e1f236240..d44576360 100644
--- a/package/libqrencode/libqrencode.mk
+++ b/package/libqrencode/libqrencode.mk
@@ -7,15 +7,15 @@
LIBQRENCODE_VERSION = 3.4.2
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
-LIBQRENCODE_DEPENDENCIES = libpng
LIBQRENCODE_INSTALL_STAGING = YES
LIBQRENCODE_LICENSE = LGPLv2.1+
LIBQRENCODE_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
- LIBQRENCODE_CONF_OPT += --with-tools=yes
+LIBQRENCODE_CONF_OPT += --with-tools=yes
+LIBQRENCODE_DEPENDENCIES += libpng
else
- LIBQRENCODE_CONF_OPT += --with-tools=no
+LIBQRENCODE_CONF_OPT += --with-tools=no
endif
$(eval $(autotools-package))