Calculate the default path based on the project value of PREFIX

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1444 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2007-09-09 07:00:53 +00:00
parent 39d4d5fbd1
commit d03f47ac6e
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -178,7 +178,8 @@ static void defaults_path_build (void)
path_list[0] = strdup (cwd);
path_list_entries++;
}
path_list[path_list_entries++] = "/usr/libexec/lcrso";
path_list[path_list_entries++] = PREFIX"/libexec/lcrso";
}
static void ld_library_path_build (void)