summaryrefslogtreecommitdiff
path: root/install-lib-links.mk
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-03-08 19:48:04 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-03-11 12:50:43 +0000
commitbba9c28215f96a6570c290906b64eea83383beb8 (patch)
tree2d15abc85471ba4922e8df3138e89d158fc91a92 /install-lib-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 <emil.l.velikov@gmail.com> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'install-lib-links.mk')
-rw-r--r--install-lib-links.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-lib-links.mk b/install-lib-links.mk
index 9dd4c30d47..2707eb8834 100644
--- a/install-lib-links.mk
+++ b/install-lib-links.mk
@@ -5,7 +5,7 @@ all-local : .libs/install-mesa-links
.libs/install-mesa-links : $(lib_LTLIBRARIES)
$(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \
- for f in $(lib_LTLIBRARIES:%.la=.libs/%.so*); do \
+ for f in $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); do \
if test -h .libs/$$f; then \
cp -d $$f $(top_builddir)/$(LIB_DIR); \
else \