From: dbs Date: Thu, 11 Oct 2007 21:36:33 +0000 (+0000) Subject: Add -rpath to hardcode location of oils libraries; X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b1e271c432da04eacde57b6de54cc04e2d0a23c4;p=Evergreen.git Add -rpath to hardcode location of oils libraries; this removes the LD_LIBRARY_PATH env variable requirement git-svn-id: svn://svn.open-ils.org/ILS/trunk@7878 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/c-apps/Makefile b/Open-ILS/src/c-apps/Makefile index 775d75ed48..b854fc850f 100644 --- a/Open-ILS/src/c-apps/Makefile +++ b/Open-ILS/src/c-apps/Makefile @@ -1,5 +1,5 @@ LDLIBS += -lobjson -lopensrf #-lfieldmapper -LDFLAGS += -L$(DBI_LIBS) +LDFLAGS += -Wl,-rpath=$(LIBDIR) -L$(DBI_LIBS) CFLAGS += -DOSRF_LOG_PARAMS #all: oils_auth.so oils_fetch.so oils_cstore.so