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-gallium-links.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install-gallium-links.mk') diff --git a/install-gallium-links.mk b/install-gallium-links.mk index debfe6c..4926463 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; \ -- cgit v1.1