mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
mesa/dri: always link against shared glapi
Analogous to previous commit. Check with the extensive commit
description and bug report referenced.
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 51accecce7)
This commit is contained in:
parent
124e7b3bc8
commit
7e4b3aec9f
1 changed files with 9 additions and 7 deletions
|
|
@ -6,12 +6,9 @@ MEGADRIVERS_DEPS =
|
|||
|
||||
SUBDIRS+=common
|
||||
|
||||
# On Android, we need to explicitly link to libglapi.so.
|
||||
if HAVE_ANDROID
|
||||
if HAVE_SHARED_GLAPI
|
||||
SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
|
||||
endif
|
||||
endif
|
||||
|
||||
if HAVE_I915_DRI
|
||||
SUBDIRS += i915
|
||||
|
|
@ -59,10 +56,15 @@ driinclude_HEADERS = \
|
|||
nodist_EXTRA_mesa_dri_drivers_la_SOURCES = dummy.cpp
|
||||
mesa_dri_drivers_la_SOURCES =
|
||||
mesa_dri_drivers_la_LDFLAGS = \
|
||||
-module -avoid-version -shared -shrext .so \
|
||||
$(BSYMBOLIC) \
|
||||
$(GC_SECTIONS) \
|
||||
$()
|
||||
-shared \
|
||||
-shrext .so \
|
||||
-module \
|
||||
-no-undefined \
|
||||
-avoid-version \
|
||||
$(BSYMBOLIC) \
|
||||
$(GC_SECTIONS) \
|
||||
$(LD_NO_UNDEFINED)
|
||||
|
||||
mesa_dri_drivers_la_LIBADD = \
|
||||
../../libmesa.la \
|
||||
common/libmegadriver_stub.la \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue