mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-13 16:45:09 +00:00
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:
parent
16d73f15da
commit
fc1a08d411
1
Makefile
1
Makefile
@ -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)))
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Common options
|
||||
PREFIX=/usr
|
||||
DESTDIR=
|
||||
LCRSODIR=$(PREFIX)/libexec/lcrso
|
||||
|
||||
# Do not modify below this line
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user