aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5b2572e..1e2056e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -86,8 +86,12 @@ sciteco_LDADD = $(sciteco_minimal_LDADD)
# see above
nodist_EXTRA_sciteco_SOURCES = fuck-this-shit.cpp
-# For MinGW: Compile in resource (contains the icon)
if WIN32
+# Prevent MinGW from failing on non-Unicode command lines that cannot
+# be converted into the system code page.
+AM_LDFLAGS += -municode
+
+# Compile in resource (contains the icon)
sciteco_SOURCES += sciteco.rc
.rc.o:
@RC@ $< $@