libreadline.a -> libreadline.so
@@ -269,8 +269,8 @@ base_LIBNAMES := ws2_32
endif
ifeq ($(PLAT),linux)
-base_LIBPATH := $(shell find "/usr" -name libreadline.a | grep ".*/" -o)
-base_LIBNAMES := $(shell find "/usr" -name libreadline.a | grep readline -o) m dl pthread
+base_LIBPATH := $(shell find "/usr/lib" -name libreadline.so | grep ".*/" -o)
+base_LIBNAMES := $(shell find "/usr/lib" -name libreadline.so | grep readline -o) m dl pthread
endif
# check jit compiler
