Use runtime paths linker flags when rpath option enabled.

This commit is contained in:
Andrey Kiselev 2006-03-23 14:23:43 +00:00
parent 7f8cea0b57
commit bd5bff3cf6

View File

@ -57,6 +57,10 @@ endif
EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr
if HAVE_RPATH
AM_LDFLAGS = $(LIBDIR)
endif
bmp2tiff_SOURCES = bmp2tiff.c bmp2tiff_SOURCES = bmp2tiff.c
bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT) bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT)