Partially revert "automake: allow only shared builds"
[mesa.git] / install-lib-links.mk
index 0e137198722ada86b162df01b797b288cd76d54e..09fb86a0b454461287bface83df4737f21dd9590 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-mesa-links
 
@@ -14,3 +15,4 @@ all-local : .libs/install-mesa-links
                fi;                                             \
        done && touch $@
 endif
+endif