diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 21:21:31 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 21:21:31 +0700 |
commit | 5a9886170b3bc9027ec72ab425fb0e3d4a1aa330 (patch) | |
tree | 42949595ccec8f6993a19ccbc6a7e48b2bdc7652 | |
parent | c95bd9111ee75556a4a6ba51603856cee0afef2b (diff) | |
download | binutils-5a9886170b3bc9027ec72ab425fb0e3d4a1aa330.zip binutils-5a9886170b3bc9027ec72ab425fb0e3d4a1aa330.tar.gz binutils-5a9886170b3bc9027ec72ab425fb0e3d4a1aa330.tar.bz2 |
sim: fix readline linkage
Now that we link programs in the top dir instead of the arch subdir,
update the readline library path to be relative to the top dir.
-rwxr-xr-x | sim/configure | 2 | ||||
-rw-r--r-- | sim/m4/sim_ac_platform.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure index d8b734e..0a0eb6d 100755 --- a/sim/configure +++ b/sim/configure @@ -13446,7 +13446,7 @@ fi if test -r ../readline/Makefile; then - READLINE_LIB=../../readline/readline/libreadline.a + READLINE_LIB=../readline/readline/libreadline.a READLINE_CFLAGS='-I$(READLINE_SRC)/..' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 diff --git a/sim/m4/sim_ac_platform.m4 b/sim/m4/sim_ac_platform.m4 index 467987e..abfb2bd 100644 --- a/sim/m4/sim_ac_platform.m4 +++ b/sim/m4/sim_ac_platform.m4 @@ -190,7 +190,7 @@ AC_SUBST(TERMCAP_LIB) dnl We prefer the in-tree readline. Top-level dependencies make sure dnl src/readline (if it's there) is configured before src/sim. if test -r ../readline/Makefile; then - READLINE_LIB=../../readline/readline/libreadline.a + READLINE_LIB=../readline/readline/libreadline.a READLINE_CFLAGS='-I$(READLINE_SRC)/..' else AC_CHECK_LIB(readline, readline, READLINE_LIB=-lreadline, |