Ticket #605: windows-makefiles.patch

File windows-makefiles.patch, 2.6 KB (added by richt, 11 years ago)

Patch adds missing build dependencies for plugins on windows

  • Makefile.am

     
    2020SUBDIRS+=intl po man
    2121endif
    2222SUBDIRS+=navit
     23if SUPPORT_WIN32
     24NAVIT_MODULE_LDFLAGS+=-no-undefined -Wl,--enable-auto-imports
     25endif
    2326pkgdoc_DATA = README
    2427EXTRA_DIST = README COPYRIGHT LGPL-2 GPL-2 COPYING INSTALL
    2528DIST_SUBDIRS=intl po navit man
  • navit/font/freetype/Makefile.am

     
    66  noinst_LTLIBRARIES = libfont_freetype.la
    77endif
    88libfont_freetype_la_SOURCES = font_freetype.c font_freetype.h
    9 libfont_freetype_la_LDFLAGS = @FREETYPE2_LIBS@ @FONTCONFIG_LIBS@ @FRIBIDI_LIBS@ -module -avoid-version
     9libfont_freetype_la_LDFLAGS = @FREETYPE2_LIBS@ @FONTCONFIG_LIBS@ @FRIBIDI_LIBS@ -module -avoid-version @NAVIT_MODULE_LDFLAGS@ -Wl,--enable-auto-import
  • navit/graphics/gtk_drawing_area/Makefile.am

     
    22AM_CPPFLAGS = @GTK2_CFLAGS@ -I$(top_srcdir) -I$(top_srcdir)/navit -DMODULE=graphics_gtk_drawing_area
    33modulegraphics_LTLIBRARIES = libgraphics_gtk_drawing_area.la
    44libgraphics_gtk_drawing_area_la_SOURCES = graphics_gtk_drawing_area.c
    5 libgraphics_gtk_drawing_area_la_LDFLAGS = @GTK2_LIBS@ @IMLIB2_LIBS@ -module -avoid-version
     5libgraphics_gtk_drawing_area_la_LDFLAGS = @GTK2_LIBS@ @IMLIB2_LIBS@ -module -avoid-version @NAVIT_MODULE_LDFLAGS@
  • navit/gui/gtk/Makefile.am

     
    33modulegui_LTLIBRARIES = libgui_gtk.la
    44libgui_gtk_la_SOURCES = datawindow.c destination.c gui_gtk_statusbar.c gui_gtk_action.c gui_gtk_window.c gui_gtk.h
    55libgui_gtk_la_LIBADD = @GTK2_LIBS@
    6 libgui_gtk_la_LDFLAGS = -module -avoid-version
     6libgui_gtk_la_LDFLAGS = -module -avoid-version @NAVIT_MODULE_LDFLAGS@
  • navit/gui/win32/Makefile.am

     
    77endif
    88libgui_win32_la_SOURCES = gui_win32.c win32_gui_destination.c win32_gui_notify.c ceglue.h ceglue.c
    99libgui_win32_la_LIBADD =
    10 libgui_win32_la_LDFLAGS = -module -avoid-version
     10libgui_win32_la_LDFLAGS = -module -avoid-version @NAVIT_MODULE_LDFLAGS@