diff --git a/src/Makefile b/src/Makefile index 29fddf60..e30c6f2b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,7 +10,9 @@ sharedir := $(DESTDIR)$(PREFIX)/share/kak docdir := $(DESTDIR)$(PREFIX)/share/doc/kak CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic -LDFLAGS += -rdynamic +ifneq (,$(findstring CYGWIN,$(os))) + LDFLAGS += -rdynamic +endif os := $(shell uname)