Define GL_LIB_NAME somewhere that applies to dri_common.c, which is the
file that needs it.
This commit is contained in:
parent
f7b51e53b0
commit
21c623a5bc
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.28 2019/09/24 19:29:42 maya Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2020/03/29 21:06:03 maya Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -117,7 +117,8 @@ SRCS.dri= \
|
|||
|
||||
.for fn in ${SRCS.dri}
|
||||
CPPFLAGS.${fn}= \
|
||||
-I${X11SRCDIR.Mesa}/src
|
||||
-I${X11SRCDIR.Mesa}/src \
|
||||
-DGL_LIB_NAME="\"libGL.so.${SHLIB_MAJOR}\""
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: libloader.mk,v 1.5 2020/02/07 19:00:18 jmcneill Exp $
|
||||
# $NetBSD: libloader.mk,v 1.6 2020/03/29 21:06:03 maya Exp $
|
||||
|
||||
# makefile fragment for mesa src/loader
|
||||
|
||||
|
@ -15,7 +15,6 @@ CPPFLAGS.${_f}= -I${X11SRCDIR.Mesa}/src/util \
|
|||
-I${X11SRCDIR.Mesa}/../src/util \
|
||||
-I${X11SRCDIR.Mesa}/src/mesa \
|
||||
-I${X11SRCDIR.Mesa}/src \
|
||||
-DGL_LIB_NAME=\"libGL.so.3\" \
|
||||
-DDEFAULT_DRIVER_DIR=\"${X11USRLIBDIR}/modules/dri\" \
|
||||
-DUSE_DRICONF \
|
||||
-DHAVE_LIBDRM
|
||||
|
|
Loading…
Reference in New Issue