mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
app/internal/window,app/internal/egl: replace deprecated MESA_EGL_NO_X11_HEADERS
Fixes gio#147 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -11,7 +11,7 @@ package egl
|
|||||||
#cgo freebsd LDFLAGS: -L/usr/local/lib
|
#cgo freebsd LDFLAGS: -L/usr/local/lib
|
||||||
#cgo openbsd CFLAGS: -I/usr/X11R6/include
|
#cgo openbsd CFLAGS: -I/usr/X11R6/include
|
||||||
#cgo openbsd LDFLAGS: -L/usr/X11R6/lib
|
#cgo openbsd LDFLAGS: -L/usr/X11R6/lib
|
||||||
#cgo CFLAGS: -DMESA_EGL_NO_X11_HEADERS
|
#cgo CFLAGS: -DEGL_NO_X11
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import (
|
|||||||
/*
|
/*
|
||||||
#cgo linux pkg-config: egl wayland-egl
|
#cgo linux pkg-config: egl wayland-egl
|
||||||
#cgo freebsd openbsd LDFLAGS: -lwayland-egl
|
#cgo freebsd openbsd LDFLAGS: -lwayland-egl
|
||||||
#cgo CFLAGS: -DMESA_EGL_NO_X11_HEADERS
|
#cgo CFLAGS: -DEGL_NO_X11
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user