bluez: use build_with_debug() helper function

This commit is contained in:
MilhouseVH 2018-02-19 07:08:48 +00:00
parent 31b02617c8
commit 77dfa971a2

View File

@ -29,7 +29,7 @@ PKG_SHORTDESC="bluez: Bluetooth Tools and System Daemons for Linux."
PKG_LONGDESC="Bluetooth Tools and System Daemons for Linux."
PKG_TOOLCHAIN="autotools"
if [ "$DEBUG" = "yes" ]; then
if build_with_debug; then
BLUEZ_CONFIG="--enable-debug"
else
BLUEZ_CONFIG="--disable-debug"