diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-04-07 15:24:46 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-04-09 22:12:36 +0100 |
commit | 55f9bbd46c7cd021dd1d208071d1a79bc423eda8 (patch) | |
tree | f6eb68560e315a7dc442d998333afcb4e521cd59 /src/gallium/Automake.inc | |
parent | 92d0786f881a0b65ade503c85401a074350af27a (diff) | |
download | external_mesa3d-55f9bbd46c7cd021dd1d208071d1a79bc423eda8.zip external_mesa3d-55f9bbd46c7cd021dd1d208071d1a79bc423eda8.tar.gz external_mesa3d-55f9bbd46c7cd021dd1d208071d1a79bc423eda8.tar.bz2 |
build: force .so extension for the gallium dri modules
While linux uses .so as a default extension for shared libraries that is
not the case for other platforms. The loader in libGL (and others) assumes
that the dri module will always have a .so extension, thus it will fail
to load on the affected platforms.
Spotted-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r-- | src/gallium/Automake.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index bafde36..1f5d532 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -55,6 +55,7 @@ DRI_VERSION_SCRIPT ?= $(top_srcdir)/src/gallium/state_trackers/dri/dri.link GALLIUM_DRI_LINKER_FLAGS = \ -shared \ + -shrext .so \ -module \ -avoid-version \ $(GC_SECTIONS) \ |