summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-02-24 02:06:39 -0800
committerGitHub <noreply@github.com>2020-02-24 11:06:39 +0100
commit1cf5c280e3e5111732bfcf4bba3317a99c277593 (patch)
tree630548a2fd7fc624fed86e5473cb288655350996 /tools
parent84e78b4ffc005de7a76ec7d05bdfd0caf56a79b1 (diff)
downloadNim-1cf5c280e3e5111732bfcf4bba3317a99c277593.tar.gz
only enable linenoise for -d:nimUseLinenoise (#13478)
* only enable linenoise for -d:nimUseLinenoise

* fixup
Diffstat (limited to 'tools')
-rw-r--r--tools/niminst/niminst.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim
index d821a68bb..4746f328a 100644
--- a/tools/niminst/niminst.nim
+++ b/tools/niminst/niminst.nim
@@ -513,7 +513,8 @@ template gatherFiles(fun, libpath, outDir) =
       fun(src, dst)
 
     for f in walkFiles(libpath / "lib/*.h"): copySrc(f)
-    copySrc(libpath / "lib/wrappers/linenoise/linenoise.h")
+    # commenting out for now, see discussion in https://github.com/nim-lang/Nim/pull/13413
+    # copySrc(libpath / "lib/wrappers/linenoise/linenoise.h")
 
 proc srcdist(c: var ConfigData) =
   let cCodeDir = getOutputDir(c) / "c_code"