On Wed, Aug 19, 2009 at 04:59:21PM +0200, [email protected] wrote:

> Author: forenr
> Date: Wed Aug 19 16:59:21 2009
> New Revision: 31140
> URL: http://www.lyx.org/trac/changeset/31140
> 
> Log:
> On Cygwin, use link options at the link (rather than compile) stage.

Jürgen, Ok for branch?

> Modified:
>    lyx-devel/trunk/development/cygwin/Makefile.am
> 
> Modified: lyx-devel/trunk/development/cygwin/Makefile.am
> ==============================================================================
> --- lyx-devel/trunk/development/cygwin/Makefile.am    Wed Aug 19 12:45:23 
> 2009        (r31139)
> +++ lyx-devel/trunk/development/cygwin/Makefile.am    Wed Aug 19 16:59:21 
> 2009        (r31140)
> @@ -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 @@
>  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:
> 

-- 
Enrico

Reply via email to