aboutsummaryrefslogtreecommitdiff
path: root/gprofng/configure.ac
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2023-01-17 18:53:38 -0800
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2023-01-17 19:10:22 -0800
commit47f72fdba3f8b5d979802303f6d3c0312c931e7d (patch)
tree3206834767805648a6f24f83d86d9945ff484c88 /gprofng/configure.ac
parent493ca3758b3622797779af76880ce5843026a24b (diff)
downloadgdb-47f72fdba3f8b5d979802303f6d3c0312c931e7d.zip
gdb-47f72fdba3f8b5d979802303f6d3c0312c931e7d.tar.gz
gdb-47f72fdba3f8b5d979802303f6d3c0312c931e7d.tar.bz2
Revert "gprofng: PR29987 bfd/archive.c:1447: undefined reference to `filename_ncmp'"
This reverts commit c2a5d74050ea9d7897b4122ef57c627d395683b3.
Diffstat (limited to 'gprofng/configure.ac')
-rw-r--r--gprofng/configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/gprofng/configure.ac b/gprofng/configure.ac
index 55312ca..83e60a6 100644
--- a/gprofng/configure.ac
+++ b/gprofng/configure.ac
@@ -37,6 +37,12 @@ fi
AC_DISABLE_SHARED
LT_INIT
+GPROFNG_LIBADD="-L../../libiberty -liberty"
+if test "$enable_shared" = "yes"; then
+ GPROFNG_LIBADD="-L../../libiberty/pic -liberty"
+fi
+AC_SUBST(GPROFNG_LIBADD)
+
# Figure out what compiler warnings we can enable.
# See config/warnings.m4 for details.