diff options
Diffstat (limited to 'configure.in')
-rwxr-xr-x | configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in index bc1129204d..1149466a58 100755 --- a/configure.in +++ b/configure.in @@ -147,6 +147,11 @@ dashes="------------------------" final_message="\n XBMC Configuration:" final_message="\n$dashes$final_message\n$dashes" +AC_ARG_ENABLE([shared-lib], + [AS_HELP_STRING([--enable-shared-lib], + [build libxbmc. helpful for tests (default is no)])], + [build_shared_lib=$enableval], + [build_shared_lib=no]) AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], @@ -561,6 +566,11 @@ case $host in esac AC_SUBST([ARCH]) +if test "$build_shared_lib" = "yes"; then + final_message="$final_message\n Shared lib\tYes" + AC_SUBST(USE_LIBXBMC,1) +fi + # platform debug flags if test "$use_debug" = "yes"; then final_message="$final_message\n Debugging:\tYes" |