1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/configure.rpm
Amitay Isaacs 6c4e3cf1a9 ctdb-packaging: Package private libraries
Remove the private libraries from builtin_libraries and package them
instead.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Jul  1 07:19:43 CEST 2015 on sn-devel-104
2015-07-01 07:19:43 +02:00

19 lines
431 B
Bash
Executable File

#!/bin/sh
if gcc -dM -E - </dev/null | grep -Eq '__(x86_64|powerpc64)__' ; then
_libdir=/usr/lib64
else
_libdir=/usr/lib
fi
CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
--builtin-libraries=replace,popt \
--bundled-libraries=!talloc,!tevent,!tdb \
--minimum-library-version=talloc:2.0.8,tdb:1.2.11,tevent:0.9.16 \
--prefix=/usr \
--libdir=${_libdir} \
--sysconfdir=/etc \
--mandir=/usr/man \
--localstatedir=/var \
$*