From feb02cf469a339b5941ff149dc5e0d81261250ec Mon Sep 17 00:00:00 2001 From: sanbrother Date: Fri, 21 Apr 2017 11:52:03 +0800 Subject: [PATCH] Fix compilation problem when compile using Cygwin or Mingw --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index fdee222..c6caf0f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,6 +11,9 @@ AM_YFLAGS = -d AM_CPPFLAGS = -I{srcdir} +# '-no-undefined' should be specified when compile using Cygwin or Mingw +AM_LDFLAGS = -no-undefined + ## Enable debugging of linker script parser YYDEBUG = -DYYDEBUG=1