xorg-server & xvfb: fix undefined variable error

%ci:no-build
This commit is contained in:
Leonid Pliushch 2021-10-25 10:22:54 +00:00 committed by Yaksh Bariya
parent c106b88dec
commit 134c26f8a0
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ termux_step_pre_configure() {
CFLAGS+=" -DFNDELAY=O_NDELAY"
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/libdrm"
if [ -n "${TERMUX_DEBUG}" ]; then
if [ "$TERMUX_DEBUG_BUILD" = "true" ]; then
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
fi
}

View File

@ -64,7 +64,7 @@ termux_step_pre_configure() {
CFLAGS+=" -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast"
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/libdrm"
if [ -n "${TERMUX_DEBUG}" ]; then
if [ "$TERMUX_DEBUG_BUILD" = "true" ]; then
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
fi