Restore RPATH so that we do not need LD_LIBRARY_PATH messing with our environments
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 7 Aug 2008 16:54:56 +0000 (16:54 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 7 Aug 2008 16:54:56 +0000 (16:54 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1388 9efc2488-bf62-4759-914b-345cdb29e865

src/libopensrf/Makefile.am

index 1955334..0293205 100644 (file)
@@ -13,7 +13,7 @@
 
 
 AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS  -DOSRF_STRICT_PARAMS -rdynamic -fno-strict-aliasing -DOSRF_JSON_ENABLE_XML_UTILS
-AM_LDFLAGS = $(DEF_LDFLAGS)
+AM_LDFLAGS = $(DEF_LDFLAGS) -R $(libdir)
 LDADD = -lxml2 -ldl -lmemcache -lopensrf
 
 OSRF_INC = @top_srcdir@/include/opensrf