[open-ils-commits] r7878 - trunk/Open-ILS/src/c-apps

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 11 17:48:36 EDT 2007


Author: dbs
Date: 2007-10-11 17:36:33 -0400 (Thu, 11 Oct 2007)
New Revision: 7878

Modified:
   trunk/Open-ILS/src/c-apps/Makefile
Log:
Add -rpath to hardcode location of oils libraries;
this removes the LD_LIBRARY_PATH env variable requirement


Modified: trunk/Open-ILS/src/c-apps/Makefile
===================================================================
--- trunk/Open-ILS/src/c-apps/Makefile	2007-10-10 21:52:47 UTC (rev 7877)
+++ trunk/Open-ILS/src/c-apps/Makefile	2007-10-11 21:36:33 UTC (rev 7878)
@@ -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



More information about the open-ils-commits mailing list