it seems osmesa depends on GL and we need to add -lGL
so compilation works with --as-needed
This commit is contained in:
parent
ada2d9ce12
commit
7704d2fd80
|
@ -60,6 +60,7 @@ AC_ARG_ENABLE([osmesa],
|
||||||
|
|
||||||
if test "x$osmesa" = "xyes" ; then
|
if test "x$osmesa" = "xyes" ; then
|
||||||
AC_CHECK_LIB(dl, main)
|
AC_CHECK_LIB(dl, main)
|
||||||
|
AC_CHECK_LIB([GL], main)
|
||||||
AC_CHECK_LIB(OSMesa, main,[
|
AC_CHECK_LIB(OSMesa, main,[
|
||||||
useosmesa=yes
|
useosmesa=yes
|
||||||
AC_DEFINE(HAVE_LIBOSMESA)
|
AC_DEFINE(HAVE_LIBOSMESA)
|
||||||
|
|
Loading…
Reference in New Issue