From bd5bff3cf6d9672df34c1d14c1bb4d9972ba25cd Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Thu, 23 Mar 2006 14:23:43 +0000 Subject: [PATCH] Use runtime paths linker flags when rpath option enabled. --- tools/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/Makefile.am b/tools/Makefile.am index c3a47a25..57299d76 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -57,6 +57,10 @@ endif EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr +if HAVE_RPATH +AM_LDFLAGS = $(LIBDIR) +endif + bmp2tiff_SOURCES = bmp2tiff.c bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT)