On 24 October 2017 at 17:11, Jerome Duval <[email protected]> wrote:
> From: Jérôme Duval <[email protected]>
>
> ---
>  src/Makefile.am | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 5ef2d4f..7ef63f7 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -108,6 +108,10 @@ if HAVE_PLATFORM_WAYLAND
>  SUBDIRS += egl/wayland/wayland-egl
>  endif
>
> +if HAVE_HAIKU
> +SUBDIRS += hgl
> +endif
> +
This won't work, since you're using a conditional [variable] that does
not exist.
Apart from my earlier suggestion [1] one could use something different, say:

 - basic haiku platform detection in configure
 - build target A [src/hgl] -  src/hgl/Makefile.* + this hunk +
src/hgl/{Makefile,gl.pc} lines in configure
 - build target B
...

Anything other flow that you prefer is also fine.

Thanks
Emil

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-October/174078.html
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to