diff options
author | Emil Velikov <[email protected]> | 2017-04-13 19:36:56 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-08 11:24:04 +0100 |
commit | 7e4b3aec9f325be17317c6d6934d7af7420b15b9 (patch) | |
tree | ef4fd7428403ed44dc8382a228c02aec9f499dce /src/mesa | |
parent | 124e7b3bc815f4bbfb501e88f32218f11ccb4ac9 (diff) |
mesa/dri: always link against shared glapi
Analogous to previous commit. Check with the extensive commit
description and bug report referenced.
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
(cherry picked from commit 51accecce7755be9b7eb1baadaec7e4b7d1011af)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/Makefile.am | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/Makefile.am b/src/mesa/drivers/dri/Makefile.am index 1c6dd08a85d..fb0fc3258bf 100644 --- a/src/mesa/drivers/dri/Makefile.am +++ b/src/mesa/drivers/dri/Makefile.am @@ -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 \ |