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 /sim/m4 | |
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.
Diffstat (limited to 'sim/m4')
-rw-r--r-- | sim/m4/sim_ac_platform.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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, |