Allow override of the LCRSO directory from the Makefiles or command line

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1458 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2007-09-27 09:14:02 +00:00
parent 16d73f15da
commit fc1a08d411
4 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,6 @@ INCLUDEDIR_LCR=$(PREFIX)/include/openais/lcr
INCLUDEDIR_SERVICE=$(PREFIX)/include/openais/service
MANDIR=$(PREFIX)/share/man
ETCDIR=/etc
LCRSODIR=$(PREFIX)/libexec/lcrso
ARCH=$(shell uname -p)
ifeq (,$(findstring 64,$(ARCH)))

View File

@ -1,6 +1,7 @@
# Common options
PREFIX=/usr
DESTDIR=
LCRSODIR=$(PREFIX)/libexec/lcrso
# Do not modify below this line

View File

@ -26,7 +26,7 @@
#
include ../Makefile.inc
override CFLAGS += -I../include -DPREFIX='"$(PREFIX)"'
override CFLAGS += -I../include -DLCRSODIR='"$(LCRSODIR)"'
override LDFLAGS += -L./ ${DYFLAGS}
ifeq (${OPENAIS_COMPAT}, LINUX)

View File

@ -179,7 +179,7 @@ static void defaults_path_build (void)
path_list_entries++;
}
path_list[path_list_entries++] = PREFIX"/libexec/lcrso";
path_list[path_list_entries++] = LCRSODIR;
}
static void ld_library_path_build (void)