From: Jon TURNEY Date: Sat, 5 Apr 2014 18:20:15 +0000 (+0100) Subject: Avoid mesa_dri_drivers import lib being installed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=923f78440c29644f31d745d6fbd4eaad8676973f;p=mesa.git Avoid mesa_dri_drivers import lib being installed On Cygwin and MinGW, linking a shared library also generates an import library Use a wildcard which also matches the name of the megadriver import lib, mesa_dri_drivers.dll.a, so that is also removed after megadriver symlinks are created (This then matches src/gallium/targets/dri/Makefile.am, which already does things this way) Signed-off-by: Jon TURNEY Reviewed-by: Emil Velikov --- diff --git a/src/mesa/drivers/dri/Makefile.am b/src/mesa/drivers/dri/Makefile.am index 70039f9ad82..2009da921ba 100644 --- a/src/mesa/drivers/dri/Makefile.am +++ b/src/mesa/drivers/dri/Makefile.am @@ -85,7 +85,6 @@ install-data-hook: ln -f $(DESTDIR)$(dridir)/mesa_dri_drivers.so \ $(DESTDIR)$(dridir)/$$i; \ done; - $(RM) -f $(DESTDIR)$(dridir)/mesa_dri_drivers.so - $(RM) -f $(DESTDIR)$(dridir)/mesa_dri_drivers.la + $(RM) -f $(DESTDIR)$(dridir)/mesa_dri_drivers.* endif