[lldb] [Python] Build readline override module only on Linux
authorMichał Górny <mgorny@gentoo.org>
Tue, 5 Nov 2019 15:29:46 +0000 (16:29 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 5 Nov 2019 16:07:59 +0000 (17:07 +0100)
commitdf3ae1eb296d5193232649b5f282dfc4f01ba61f
tree2170b8e33a6a09acebd20332d7deca1ebc95288a
parent39525a6723854e9920b2560aadaa399cfbbd006a
[lldb] [Python] Build readline override module only on Linux

Restrict building the readline override to Linux only.  It both does not
build on *BSD systems, and is largely irrelevant since they default to
using libedit over readline anyway.  This restores the behavior
of the old readline override that also was built only on Linux.

Differential Revision: https://reviews.llvm.org/D69846
lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h