From bba9c28215f96a6570c290906b64eea83383beb8 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 8 Mar 2014 19:48:04 +0000 Subject: 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 Reviewed-by: Jon TURNEY --- install-lib-links.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install-lib-links.mk') diff --git a/install-lib-links.mk b/install-lib-links.mk index 9dd4c30..2707eb8 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 \ -- cgit v1.1