anv: tweak the LDFLAGS
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 20 Apr 2016 16:29:25 +0000 (17:29 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 07:38:03 +0000 (08:38 +0100)
commit30e6f68b3bca2a8cb17c3c61b5e8ebd58bc504e7
tree7bf2d66de2b76744960cb1534c87839447246170
parentb370ec7c76d098cca4d63561fa294a9088d60fcf
anv: tweak the LDFLAGS

Copy/paste from the rest of mesa, but namely.
 - The module should be shared only.
 - We don't need the explicit ".so", as the vulkan loader will retrieve
the full filename from the json
 - No unresolved symbols in the final binary
 - Use the linker garbage collector to slim down the final binary.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/Makefile.am