summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-07 11:46:33 +0800
committerTitanSnow <[email protected]>2017-05-07 11:46:33 +0800
commit55e28abcc618e5ab0adff9f675d8dbaa8e775355 (patch)
treed7ff7bc656b84f637586ea1592560eedd466aa42
parent844a532df09ba4817a263b9e3dd4f36181e21a48 (diff)
libreadline.a -> libreadline.so
-rw-r--r--core/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/makefile b/core/makefile
index 68a6c3274..1c0588a62 100644
--- a/core/makefile
+++ b/core/makefile
@@ -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