summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-nouveau/Makefile.am
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2014-03-06 15:20:56 +0100
committerMaarten Lankhorst <[email protected]>2014-03-10 17:08:19 +0100
commit8c136b53b79e90b9e8f30f891b8bef112fee375d (patch)
treeead859a9735573cb4df2913a04da7a12e9f0652e /src/gallium/targets/dri-nouveau/Makefile.am
parent952fda4d3feca9b676a12d011523feaaf5836086 (diff)
fix vdpau interop when using -Bsymbolic-functions in ldflags
Explicitly add radeon_drm_winsys_create and nouveau_drm_screen_create to the dynamic list. This will ensure vdpau interop still works even when the user links with -Bsymbolic-functions in hardened builds. Signed-off-by: Maarten Lankhorst <[email protected]> Tested-by: Rachel Greenham <[email protected]> Reported-by: Peter Frühberger <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri-nouveau/Makefile.am')
-rw-r--r--src/gallium/targets/dri-nouveau/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/targets/dri-nouveau/Makefile.am b/src/gallium/targets/dri-nouveau/Makefile.am
index 4bd4e21953c..f34acf80593 100644
--- a/src/gallium/targets/dri-nouveau/Makefile.am
+++ b/src/gallium/targets/dri-nouveau/Makefile.am
@@ -35,7 +35,9 @@ dri_LTLIBRARIES = nouveau_dri.la
nodist_EXTRA_nouveau_dri_la_SOURCES = dummy.cpp
nouveau_dri_la_SOURCES = target.c
-nouveau_dri_la_LDFLAGS = $(GALLIUM_DRI_LINKER_FLAGS)
+nouveau_dri_la_LDFLAGS = \
+ $(GALLIUM_DRI_LINKER_FLAGS) \
+ -Wl,--dynamic-list=$(srcdir)/nouveau_dri.dyn
nouveau_dri_la_LIBADD = \
$(top_builddir)/src/mesa/drivers/dri/common/libdricommon.la \