mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 10:40:36 +01:00
gallium/osmesa: link against static libglapi library too to get the gl exports
This should fix missing symbols in a osmesa built against shared glapi
osmesa build. All opengl exports were missing that are defined in the
static glapi, so link against both to fix this.
I could swear I've done this before, maybe there was a glitch in the matrix.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47824
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
(cherry picked from commit 603160d4c0)
This commit is contained in:
parent
170b952cfe
commit
b802f6a124
1 changed files with 2 additions and 3 deletions
|
|
@ -40,10 +40,9 @@ lib@OSMESA_LIB@_la_SOURCES = target.c
|
|||
|
||||
lib@OSMESA_LIB@_la_LDFLAGS = -module -version-number @OSMESA_VERSION@ -no-undefined
|
||||
|
||||
if HAVE_SHARED_GLAPI
|
||||
GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
|
||||
else
|
||||
GLAPI_LIB = $(top_builddir)/src/mapi/glapi/libglapi.la
|
||||
if HAVE_SHARED_GLAPI
|
||||
GLAPI_LIB += $(top_builddir)/src/mapi/shared-glapi/libglapi.la
|
||||
endif
|
||||
|
||||
lib@OSMESA_LIB@_la_LIBADD = \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue