Rev 673: get libdir right when compiling manually in
http://samba.org/~tridge/3_0-ctdb
tridge at samba.org
tridge at samba.org
Fri Nov 23 01:28:10 GMT 2007
------------------------------------------------------------
revno: 673
revision-id:tridge at samba.org-20071123012809-nyha931txcgsj268
parent: tridge at samba.org-20071122021044-gvtec5jtmhxka8rd
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Fri 2007-11-23 12:28:09 +1100
message:
get libdir right when compiling manually
modified:
source/configure.rpm configure.sofs-20070722234028-3etypcbeh8mlkvfn-1
=== modified file 'source/configure.rpm'
--- a/source/configure.rpm 2007-07-24 00:38:17 +0000
+++ b/source/configure.rpm 2007-11-23 01:28:09 +0000
@@ -1,9 +1,19 @@
+case `uname -m` in
+ x86_64)
+ libdir=/usr/lib64/samba
+ ;;
+ *)
+ libdir=/usr/lib/samba
+ ;;
+esac
+
+
CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
--prefix=/usr \
--localstatedir=/var \
--with-configdir=/etc/samba \
- --with-libdir=/usr/lib/samba \
+ --with-libdir=$libdir \
--with-lockdir=/var/lib/samba \
--with-logfilebase=/var/log/samba \
--with-mandir=/usr/man \
More information about the samba-cvs
mailing list