From e525e3f63b9ae33d640d877c6f8ce826c64035a5 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 29 May 2007 02:43:20 +0000 Subject: [PATCH] Patch from Dan Scott; adds -rpath=$(LIBDIR) to the default LDFLAGS for OpenSRF, obviating the need to set up non-standard system search paths for any libs that OpenSRF loads that either don't have a lib prefix or live outside the normal system library paths. http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001123.html git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@922 9efc2488-bf62-4759-914b-345cdb29e865 --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 008679e..5387888 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,7 @@ export PERLDIR = $(LIBDIR)/perl5 export INCLUDEDIR = $(PREFIX)/include export LDLIBS += -export LDFLAGS += -L $(TMPDIR) -L . -L /opt/lib +export LDFLAGS += -Wl,-rpath=$(LIBDIR) -L $(TMPDIR) -L . -L /opt/lib export CFLAGS += -pipe -g -Wall -O2 -fPIC -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) \ -I$(LIBXML2_HEADERS)/libxml -I$(TMP) \ -I$(APR_HEADERS) -I$(TMPDIR) -- 2.43.2