diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 439dffea..896e586a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -62,7 +62,6 @@ AC_ARG_ENABLE([nacl], | |||
62 | WANT_NACL="no" | 62 | WANT_NACL="no" |
63 | elif test "x$enableval" = "xyes"; then | 63 | elif test "x$enableval" = "xyes"; then |
64 | WANT_NACL="yes" | 64 | WANT_NACL="yes" |
65 | AC_DISABLE_SHARED | ||
66 | fi | 65 | fi |
67 | ] | 66 | ] |
68 | ) | 67 | ) |
@@ -215,6 +214,12 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) | |||
215 | AC_LIBTOOL_WIN32_DLL | 214 | AC_LIBTOOL_WIN32_DLL |
216 | AC_PROG_LIBTOOL | 215 | AC_PROG_LIBTOOL |
217 | 216 | ||
217 | if test "x$WANT_NACL" = "xyes"; then | ||
218 | disable_shared=yes | ||
219 | enable_static=yes | ||
220 | fi | ||
221 | |||
222 | |||
218 | WIN32=no | 223 | WIN32=no |
219 | AC_CANONICAL_HOST | 224 | AC_CANONICAL_HOST |
220 | case $host_os in | 225 | case $host_os in |