diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-09-28 11:02:38 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-09-28 11:02:38 +0000 |
commit | 96059f42f4fad97bfd0f0e083db443bacbd00975 (patch) | |
tree | c4d7efdcb141caf3104c783d425fd2ae40460f33 /lib/libEGL | |
parent | 3d8f4287652ebccb590930407b6db607f0dd2b30 (diff) |
Match the behaviour of Mesa when built by autoconf and link
libEGL against libgbm and libglapi.
The libgbm requirement comes from the drm EGL backend that was
enabled with the 10.2.3 update.
ok matthieu@ kettenis@
Diffstat (limited to 'lib/libEGL')
-rw-r--r-- | lib/libEGL/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libEGL/Makefile b/lib/libEGL/Makefile index 4f5d22eab..960dce0a1 100644 --- a/lib/libEGL/Makefile +++ b/lib/libEGL/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2014/09/07 15:32:18 jsg Exp $ +# $OpenBSD: Makefile,v 1.9 2014/09/28 11:02:37 jsg Exp $ .include <bsd.xconf.mk> LIB= EGL @@ -101,10 +101,10 @@ SRCS+= ${DRI2_SOURCES} ${DRM_SOURCES} CPPFLAGS+= -D_EGL_BUILT_IN_DRIVER_DRI2 -DHAVE_XCB_DRI2 \ -I${GBM}/main -I${GBM}/backends/dri -DHAVE_DRM_PLATFORM LDADD= -L${X11BASE}/lib -lX11-xcb -lX11 -lxcb-dri2 -lxcb-xfixes -lxcb-render \ - -lxcb-shape -lxcb -lpthread -ldrm + -lxcb-shape -lxcb -lgbm -lglapi -lpthread -ldrm .else LDADD= -L${X11BASE}/lib -lX11-xcb -lX11 -lxcb-xfixes -lxcb-render \ - -lxcb-shape -lxcb -lpthread + -lxcb-shape -lxcb -lglapi -lpthread .endif includes: _SUBDIRUSE |