diff options
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r-- | src/gallium/Automake.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index 1e4a34f5d2d..fec69cc523f 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -51,12 +51,14 @@ GALLIUM_VIDEO_CFLAGS = \ $(VISIBILITY_CFLAGS) -# TODO: add -export-symbols-regex +DRI_VERSION_SCRIPT ?= $(top_srcdir)/src/gallium/state_trackers/dri/dri.link + GALLIUM_DRI_LINKER_FLAGS = \ -module \ -avoid-version \ + -Wl,--version-script=$(DRI_VERSION_SCRIPT) \ -shared \ - -Wl,-Bsymbolic + -no-undefined GALLIUM_VDPAU_LINKER_FLAGS = \ -module \ |