summaryrefslogtreecommitdiff
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-14 23:11:23 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-14 23:11:23 +0100
commit44d571868f4fcf000e8b03ee0a350f1f8131c9ca (patch)
tree0ea15374aaedc8bfd7bde2cd59016672e99e1205 /src/Make_cyg_ming.mak
parent16eb4f88000cfdba68df6c421fe44e7e029ba53e (diff)
downloadvim-git-44d571868f4fcf000e8b03ee0a350f1f8131c9ca.tar.gz
patch 7.4.1320v7.4.1320
Problem: Building with Cygwin or MingW with channel but without Netbeans doesn't work. Solution: Set NETBEANS to "no" when not used.
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 026c966bf..28d31d612 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -679,8 +679,10 @@ ifneq ($(CHANNEL),yes)
# Cannot use Netbeans without CHANNEL
NETBEANS=no
else
-# Only allow NETBEANS for a GUI build.
-ifeq (yes, $(GUI))
+ifneq (yes, $(GUI))
+# Cannot use Netbeans without GUI.
+NETBEANS=no
+else
OBJ += $(OUTDIR)/netbeans.o
LIB += -lwsock32
endif