From 0e322e01c7a76e72b927e4916299e035e1106480 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 19 Aug 2009 17:01:02 +0000 Subject: [PATCH] On Cygwin, use link options at the link (rather than compile) stage. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31146 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cygwin/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/development/cygwin/Makefile.am b/development/cygwin/Makefile.am index 5e9e22e933..16c093579b 100644 --- a/development/cygwin/Makefile.am +++ b/development/cygwin/Makefile.am @@ -1,7 +1,7 @@ include $(top_srcdir)/config/common.am .c.o: - $(CC) -I$(top_builddir) $< -O2 -c -o $@ -mwindows -e _mainCRTStartup + $(CC) -I$(top_builddir) $< -O2 -c -o $@ .rc.o: cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico . @@ -14,6 +14,9 @@ dist_noinst_DATA = lyxprofile lyxeditor_SOURCES = lyxeditor.c lyxwin_SOURCES = lyxwin.c lyxwinres.rc +lyxeditor_LDFLAGS=-mwindows -e _mainCRTStartup +lyxwin_LDFLAGS=-mwindows -e _mainCRTStartup + CLEANFILES += lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico lyxeditor.sh: