qb: Minor config.libs.sh fixes.

This commit is contained in:
orbea 2019-02-08 19:12:42 -08:00
parent eee2445c45
commit 58eb7f3bf3

View File

@ -437,6 +437,7 @@ check_val '' XF86VM -lXxf86vm '' xxf86vm '' '' false
if [ "$HAVE_WAYLAND_PROTOS" = yes ] && if [ "$HAVE_WAYLAND_PROTOS" = yes ] &&
[ "$HAVE_WAYLAND_SCANNER" = yes ] && [ "$HAVE_WAYLAND_SCANNER" = yes ] &&
[ "$HAVE_WAYLAND_CURSOR" = yes ] &&
[ "$HAVE_WAYLAND" = yes ]; then [ "$HAVE_WAYLAND" = yes ]; then
./gfx/common/wayland/generate_wayland_protos.sh -c "$WAYLAND_SCANNER_VERSION" -s "$SHARE_DIR" || ./gfx/common/wayland/generate_wayland_protos.sh -c "$WAYLAND_SCANNER_VERSION" -s "$SHARE_DIR" ||
die 1 'Error: Failed generating wayland protocols.' die 1 'Error: Failed generating wayland protocols.'
@ -511,6 +512,7 @@ add_define MAKEFILE OS "$OS"
if [ "$HAVE_DEBUG" = 'yes' ]; then if [ "$HAVE_DEBUG" = 'yes' ]; then
add_define MAKEFILE DEBUG 1 add_define MAKEFILE DEBUG 1
if [ "$HAVE_OPENGL" = 'yes' ] || if [ "$HAVE_OPENGL" = 'yes' ] ||
[ "$HAVE_OPENGL1" = 'yes' ] ||
[ "$HAVE_OPENGLES" = 'yes' ] || [ "$HAVE_OPENGLES" = 'yes' ] ||
[ "$HAVE_OPENGLES3" = 'yes' ]; then [ "$HAVE_OPENGLES3" = 'yes' ]; then
add_define MAKEFILE GL_DEBUG 1 add_define MAKEFILE GL_DEBUG 1