aboutsummaryrefslogtreecommitdiff
path: root/mesalib/install-gallium-links.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/install-gallium-links.mk')
-rw-r--r--mesalib/install-gallium-links.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesalib/install-gallium-links.mk b/mesalib/install-gallium-links.mk
index 5ee923b25..757b28870 100644
--- a/mesalib/install-gallium-links.mk
+++ b/mesalib/install-gallium-links.mk
@@ -1,6 +1,7 @@
# Provide compatibility with scripts for the old Mesa build system for
# a while by putting a link to the driver into /lib of the build tree.
+if BUILD_SHARED
if HAVE_COMPAT_SYMLINKS
all-local : .libs/install-gallium-links
@@ -11,7 +12,7 @@ all-local : .libs/install-gallium-links
link_dir=$(top_builddir)/$(LIB_DIR)/egl; \
fi; \
$(MKDIR_P) $$link_dir; \
- file_list=$(dri_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
+ file_list=$(dri_LTLIBRARIES:%.la=.libs/%.so); \
file_list+=$(vdpau_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
file_list+=$(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
file_list+=$(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
@@ -23,3 +24,4 @@ all-local : .libs/install-gallium-links
fi; \
done && touch $@
endif
+endif