diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in index 34fac655c4..81296abde0 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -332,6 +332,8 @@ AC_SUBST(UNINSTALL_LIBADDNS) AC_SUBST(LIBADDNS_SHARED) AC_SUBST(LIBADDNS) +AC_SUBST(LIBTALLOC_STATIC_TARGET) +AC_SUBST(LIBTALLOC_SHARED_TARGET) AC_SUBST(INSTALL_LIBTALLOC) AC_SUBST(UNINSTALL_LIBTALLOC) AC_SUBST(LIBTALLOC_SHARED) @@ -5164,6 +5166,8 @@ AC_ARG_WITH([static-libs], # should we build libtalloc? INSTALL_LIBTALLOC= UNINSTALL_LIBTALLOC= +LIBTALLOC_SHARED_TARGET=bin/libtalloc.$SHLIBEXT +LIBTALLOC_STATIC_TARGET=bin/libtalloc.a LIBTALLOC_SHARED= LIBTALLOC= LIBTALLOC_STATIC= @@ -5190,10 +5194,10 @@ samba_cv_with_libtalloc=yes ) if test x"$samba_cv_with_libtalloc" = "xyes" -a $BLDSHARED = true; then - LIBTALLOC_SHARED=bin/libtalloc.$SHLIBEXT + LIBTALLOC_SHARED=$LIBTALLOC_SHARED_TARGET AC_MSG_RESULT(yes) if test x"$LIB_TALLOC" = "xSTATIC" ; then - LIBTALLOC_STATIC=bin/libtalloc.a + LIBTALLOC_STATIC=$LIBTALLOC_STATIC_TARGET else LIBTALLOC_LIBS=-ltalloc fi @@ -5202,7 +5206,7 @@ else AC_MSG_RESULT(no shared library support -- will supply static library) fi if test $enable_static = yes; then - LIBTALLOC_STATIC=bin/libtalloc.a + LIBTALLOC_STATIC=$LIBTALLOC_STATIC_TARGET fi LIBTALLOC=libtalloc INSTALL_LIBTALLOC=installlibtalloc |