diff --git a/dist/Mesa/src/egl/main/egl.pc.in b/dist/Mesa/src/egl/main/egl.pc.in index 853bce60a..fd6904bd8 100644 --- a/dist/Mesa/src/egl/main/egl.pc.in +++ b/dist/Mesa/src/egl/main/egl.pc.in @@ -7,6 +7,6 @@ Name: egl Description: Mesa EGL library Requires.private: @GL_PC_REQ_PRIV@ Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lEGL -lgbm +Libs: -L${libdir} -lEGL Libs.private: @GL_PC_LIB_PRIV@ Cflags: -I${includedir} @GL_PC_CFLAGS@ 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 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