From 5a9886170b3bc9027ec72ab425fb0e3d4a1aa330 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 Nov 2022 21:21:31 +0700 Subject: 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. --- sim/m4/sim_ac_platform.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/m4/sim_ac_platform.m4') 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, -- cgit v1.1