From 05f08d5148e4df8c5bed13023824f030efebf26e Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 2 Sep 2014 16:18:01 +1000 Subject: [PATCH] ctdb-build: Don't try to set lib64 directory automatically in build Just install into lib/ and let packagers decide on this policy, since it can vary between distributions. Update our packaging files accordingly. A secondary matter is that things are incorrectly installed into lib64/ when building with 32-bit userspace on a 64-bit kernel. If this is done then it should depend on the architecture of the compiler. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/configure.rpm | 8 ++++++++ ctdb/packaging/RPM/ctdb.spec.in | 1 + ctdb/wscript | 4 ---- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ctdb/configure.rpm b/ctdb/configure.rpm index 9cecb86e046..32e6673d310 100755 --- a/ctdb/configure.rpm +++ b/ctdb/configure.rpm @@ -1,9 +1,17 @@ +#!/bin/sh + +if gcc -dM -E -