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)