Partially revert "automake: allow only shared builds"
[mesa.git] / install-gallium-links.mk
index 5ee923b25df8a9b985362200ec8e62373154c641..6ed8a24a707013440c8adfbf0906c6887913bcf3 100644 (file)
@@ -1,6 +1,7 @@
 # Provide compatibility with scripts for the old Mesa build system for
 # a while by putting a link to the driver into /lib of the build tree.
 
+if BUILD_SHARED
 if HAVE_COMPAT_SYMLINKS
 all-local : .libs/install-gallium-links
 
@@ -23,3 +24,4 @@ all-local : .libs/install-gallium-links
                fi;                                             \
        done && touch $@
 endif
+endif