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
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)