build: fix bug #5590 by not linking in the static libs but the objects.
authorMichael Adam <obnox@samba.org>
Wed, 20 Aug 2008 12:56:18 +0000 (14:56 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 20 Aug 2008 20:38:08 +0000 (22:38 +0200)
Michael
(This used to be commit 6ad2090391a92ebe822b2d7b80e180c251dc8e7a)

source3/m4/aclocal.m4

index e2d0ec4b8a2c7febb69978dee9a5f03a7df27284..9a4213d9767cb72e9d1e2e5b04d2282c8124dd03 100644 (file)
@@ -152,7 +152,7 @@ else
        AC_MSG_RESULT(shared library not selected, but will supply static library)
 fi
 if test $enable_static = yes; then
-       LIBUC[_STATIC]=$LIBUC[_STATIC_TARGET]
+       LIBUC[_STATIC]=[\$\(]LIBUC[_OBJ0\)]
 fi
 
 m4_popdef([LIBNAME])