|
@@ -3449,6 +3449,7 @@ if test "$opengl" != "no" ; then
|
|
|
if test "$gtk" = "yes" && $pkg_config --exists "$gtkpackage >= 3.16"; then
|
|
|
gtk_gl="yes"
|
|
|
fi
|
|
|
+ QEMU_CFLAGS="$QEMU_CFLAGS $opengl_cflags"
|
|
|
else
|
|
|
if test "$opengl" = "yes" ; then
|
|
|
feature_not_found "opengl" "Please install opengl (mesa) devel pkgs: $opengl_pkgs"
|
|
@@ -5503,7 +5504,6 @@ fi
|
|
|
|
|
|
if test "$opengl" = "yes" ; then
|
|
|
echo "CONFIG_OPENGL=y" >> $config_host_mak
|
|
|
- echo "OPENGL_CFLAGS=$opengl_cflags" >> $config_host_mak
|
|
|
echo "OPENGL_LIBS=$opengl_libs" >> $config_host_mak
|
|
|
if test "$opengl_dmabuf" = "yes" ; then
|
|
|
echo "CONFIG_OPENGL_DMABUF=y" >> $config_host_mak
|