s3:build: fix linking with --disable-shared-libs
authorMichael Adam <obnox@samba.org>
Fri, 15 May 2009 21:35:55 +0000 (23:35 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 15 May 2009 21:46:02 +0000 (23:46 +0200)
Michael

source3/m4/aclocal.m4

index ae205023a473908050db8c036157fe1a3e39c38c..c79205708339cd78dbfee3a14f2b26703839df4c 100644 (file)
@@ -151,6 +151,7 @@ if eval test x"$build_lib" = "xyes" ; then
        else
                enable_static=yes
                LIBUC[_TARGET]=$LIBUC[_STATIC_TARGET]
+               LIBUC[_LIBS]=$LIBUC[_STATIC_TARGET]
                AC_MSG_RESULT(no shared library support -- will supply static library)
        fi
 else