gallium/osmesa: Link, not copy, the shared library to the LIB_DIR.
authorJon Severinsson <jon@severinsson.net>
Fri, 23 Aug 2013 09:19:01 +0000 (11:19 +0200)
committerMatt Turner <mattst88@gmail.com>
Fri, 23 Aug 2013 19:58:48 +0000 (12:58 -0700)
Just like all other mesa libraries...

CC: "9.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/targets/osmesa/Makefile.am

index 25fee6f41a502bbe981e13a142ba72dc2ae97b24..8e6aff6c0a65741c706ad68974a200ec33d30ca8 100644 (file)
@@ -75,7 +75,7 @@ all-local: lib@OSMESA_LIB@.la
        $(MKDIR_P) $(top_builddir)/$(LIB_DIR)/gallium;
        ln -f .libs/lib@OSMESA_LIB@.so $(top_builddir)/$(LIB_DIR)/gallium/lib@OSMESA_LIB@.so;
        ln -f .libs/lib@OSMESA_LIB@.so.@OSMESA_VERSION@ $(top_builddir)/$(LIB_DIR)/gallium/lib@OSMESA_LIB@.so.@OSMESA_VERSION@;
-       cp .libs/lib@OSMESA_LIB@.so.@OSMESA_VERSION@.0.0 $(top_builddir)/$(LIB_DIR)/gallium/
+       ln -f .libs/lib@OSMESA_LIB@.so.@OSMESA_VERSION@.0.0 $(top_builddir)/$(LIB_DIR)/gallium/
 endif
 
 pkgconfigdir = $(libdir)/pkgconfig