gprofng: use the --libdir path to find libraries
[binutils-gdb.git] / gprofng / src / Makefile.in
index ba7fdd6e8ad2bf258b67982703f4bb3b3e1a7de2..7efdb9885f6c12c2a1ac7fe6041a039acf0665ef 100644 (file)
@@ -536,7 +536,7 @@ ZLIBINC = @zlibinc@
 LOCALEDIR = @localedir@
 SYSCONFDIR = @sysconfdir@
 AM_CPPFLAGS = $(GPROFNG_CPPFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" \
-       -DSYSCONFDIR=\"$(SYSCONFDIR)\" \
+       -DSYSCONFDIR=\"$(SYSCONFDIR)\" -DLIBDIR=\"$(libdir)\" \
        -I.. -I$(srcdir) \
        -I$(srcdir)/../common \
        -I$(srcdir)/../../include -I$(srcdir)/../../opcodes \