mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
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.
This commit is contained in:
2
sim/configure
vendored
2
sim/configure
vendored
@ -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
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user