diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-10-10 15:34:42 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-10-11 00:14:06 -0700 |
commit | 7b68800441a1572640b34f988c8f71f50b2a70cf (patch) | |
tree | 0b5bc7b1ee3bcb2733045411bcd220f91a9ea643 /gprofng/src/Makefile.am | |
parent | a665c4d5c6e1d23d31ac434949b9243025496aef (diff) | |
download | gdb-7b68800441a1572640b34f988c8f71f50b2a70cf.zip gdb-7b68800441a1572640b34f988c8f71f50b2a70cf.tar.gz gdb-7b68800441a1572640b34f988c8f71f50b2a70cf.tar.bz2 |
gprofng: use the --libdir path to find libraries
gprofng/ChangeLog
2022-10-10 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/29663
* src/Makefile.am: Add -DLIBDIR to CPPFLAGS.
* src/Makefile.in: Rebuild.
* src/envsets.cc (putenv_libcollector_ld_misc): Use LIBDIR to find
the gprofng libraries.
Diffstat (limited to 'gprofng/src/Makefile.am')
-rw-r--r-- | gprofng/src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprofng/src/Makefile.am b/gprofng/src/Makefile.am index 6e09315..27ef797 100644 --- a/gprofng/src/Makefile.am +++ b/gprofng/src/Makefile.am @@ -108,7 +108,7 @@ 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 \ |