diff options
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r-- | bfd/Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 8381492..f6142dc 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -12,16 +12,20 @@ CSEARCH = -I. -I$(srcdir) -I$(INCDIR) SUBDIRS = doc po bfddocdir = doc -bfdlibdir = @bfdlibdir@ -bfdincludedir = @bfdincludedir@ libbfd_la_LDFLAGS = if INSTALL_LIBBFD +bfdlibdir = @bfdlibdir@ +bfdincludedir = @bfdincludedir@ bfdlib_LTLIBRARIES = libbfd.la bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h else !INSTALL_LIBBFD +# Empty these so that the respective installation directories will not be created. +bfdlibdir = +bfdincludedir = +rpath_bfdlibdir = @bfdlibdir@ noinst_LTLIBRARIES = libbfd.la -libbfd_la_LDFLAGS += -rpath $(bfdlibdir) +libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir) endif WARN_CFLAGS = @WARN_CFLAGS@ |