summaryrefslogtreecommitdiff
path: root/install-gallium-links.mk
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-03-12 18:13:02 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-03-31 12:18:17 +0100
commit4d8267ef209f29cbfe0075500083a2721a9aa885 (patch)
tree4744b3824255873ee0afcc01df952d5f65400118 /install-gallium-links.mk
parent23740ed031f4a5fb308e03a4d239ab3db31fffd9 (diff)
Partially revert "automake: allow only shared builds"
Evidently at least static OSMesa is still used as shared one causes substantial increase in the load time for some programs that use it (from seconds up-to ~30min). Rather than forcing everyone to use shared mesa, revert commit a6efbac9fb502c4f0166e7a0680b6828e1f6926c and default to shared build when both shared and static are disabled. v2: Whitespace cleanup, drop silly comment. Reported-by: Burlen Loring <burlen.loring@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'install-gallium-links.mk')
-rw-r--r--install-gallium-links.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/install-gallium-links.mk b/install-gallium-links.mk
index 5ee923b25df8..6ed8a24a7070 100644
--- a/install-gallium-links.mk
+++ b/install-gallium-links.mk
@@ -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