summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorTad Marshall <tad@tadmarshall.com>2011-12-06 12:14:54 -0800
committerTad Marshall <tad@tadmarshall.com>2011-12-06 12:14:54 -0800
commit4ee458d6b490e4ba6669f2e861dcec5cbf7142d4 (patch)
tree03e54e1142fb37e7560d714f3a778cc3325214af /third_party
parentda633ea46d736930a3505f0ceddc677e38a5927c (diff)
parent67fbd576b1905b68175a4c7cac0ec2b827154df1 (diff)
downloadmongo-4ee458d6b490e4ba6669f2e861dcec5cbf7142d4.tar.gz
Merge pull request #86 from guanqun/fix-linenoise-compile
make linenoise example compile OK, fix SERVER-3886
Diffstat (limited to 'third_party')
-rw-r--r--third_party/linenoise/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/linenoise/Makefile b/third_party/linenoise/Makefile
index a285410678f..b335b658524 100644
--- a/third_party/linenoise/Makefile
+++ b/third_party/linenoise/Makefile
@@ -1,7 +1,7 @@
-linenoise_example: linenoise.h linenoise.c
+linenoise_example: linenoise.h linenoise.cpp
-linenoise_example: linenoise.c example.c
- $(CC) -Wall -W -Os -g -o linenoise_example linenoise.c example.c
+linenoise_example: linenoise.cpp example.c
+ $(CXX) -Wall -W -Os -g -o linenoise_example linenoise.cpp example.c
clean:
rm -f linenoise_example