aboutsummaryrefslogtreecommitdiffstats
path: root/install-gallium-links.mk
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-08 19:48:04 +0000
committerEmil Velikov <[email protected]>2014-03-11 12:50:43 +0000
commitbba9c28215f96a6570c290906b64eea83383beb8 (patch)
tree2d15abc85471ba4922e8df3138e89d158fc91a92 /install-gallium-links.mk
parent020bc0d0dd2e71dd32d6e16e3c18acd79c328b0b (diff)
configure: use LIB_EXT rather than hardcoded .so
Some platforms different library extension - dll, dylib, a. Honor that when we are creating the required links. Rename LIB_EXTENSION to LIB_EXT while we're here. With libglapi linking aside, building classic drivers on non-linux platforms should be possible now. v2: Resolve conflicts. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jon TURNEY <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
-rw-r--r--install-gallium-links.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/install-gallium-links.mk b/install-gallium-links.mk
index debfe6c0a80..49264639e70 100644
--- a/install-gallium-links.mk
+++ b/install-gallium-links.mk
@@ -10,10 +10,10 @@ all-local : .libs/install-gallium-links
link_dir=$(top_builddir)/$(LIB_DIR)/egl; \
fi; \
$(MKDIR_P) $$link_dir; \
- file_list=$(dri_LTLIBRARIES:%.la=.libs/%.so*); \
- file_list+=$(vdpau_LTLIBRARIES:%.la=.libs/%.so*); \
- file_list+=$(egl_LTLIBRARIES:%.la=.libs/%.so*); \
- file_list+=$(lib_LTLIBRARIES:%.la=.libs/%.so*); \
+ file_list=$(dri_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
+ file_list+=$(vdpau_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
+ file_list+=$(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
+ file_list+=$(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
for f in $$file_list; do \
if test -h .libs/$$f; then \
cp -d $$f $$link_dir; \