[open-ils-commits] r7992 - branches/rel_1_2/Open-ILS/src/c-apps

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 4 14:54:18 EST 2007


Author: dbs
Date: 2007-11-04 14:38:59 -0500 (Sun, 04 Nov 2007)
New Revision: 7992

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


Modified: branches/rel_1_2/Open-ILS/src/c-apps/Makefile
===================================================================
--- branches/rel_1_2/Open-ILS/src/c-apps/Makefile	2007-11-04 19:36:02 UTC (rev 7991)
+++ branches/rel_1_2/Open-ILS/src/c-apps/Makefile	2007-11-04 19:38:59 UTC (rev 7992)
@@ -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