summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-08-22 11:51:31 -0700
committerMatt Turner <mattst88@gmail.com>2012-08-24 11:08:19 -0700
commitdf4dccc7a9691555e05c8945048603621340b5d7 (patch)
treeaef93e5e2e9a72e1f267477fd2be0e608cf9ac49 /configure.ac
parentc56b57f4a124b218aec21e6a53cd6b5ae1718054 (diff)
build: Only add links to .so files if we're building them
Xlib-GLX and OSMesa support static building. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53962
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 46e9527555..ad20c87c50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -283,6 +283,8 @@ xnono )
;;
esac
+AM_CONDITIONAL(BUILD_SHARED, test "x$enable_shared" = xyes)
+
dnl
dnl mklib options
dnl