diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2013-08-23 14:15:29 +0000 |
---|---|---|
committer | Ignacio Casal Quinteiro <icq@gnome.org> | 2014-07-11 18:22:29 +0200 |
commit | 609f4c05ae0804e37a43bfeec60e0a75912a20a5 (patch) | |
tree | eba73b3774e61e94ed781cc64b71bac4e6fb75bc /gdk/Makefile.am | |
parent | 4cc613d517020f97d21d645b83d2d0d7aa5caafa (diff) | |
download | gtk+-609f4c05ae0804e37a43bfeec60e0a75912a20a5.tar.gz |
Correctly generate def files again
Diffstat (limited to 'gdk/Makefile.am')
-rw-r--r-- | gdk/Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdk/Makefile.am b/gdk/Makefile.am index 6adaa7ac5c..d52fdd292b 100644 --- a/gdk/Makefile.am +++ b/gdk/Makefile.am @@ -194,8 +194,8 @@ endif # USE_QUARTZ if USE_WIN32 libgdk_3_la_SOURCES += gdkkeynames.c libgdk_3_la_LIBADD += win32/libgdk-win32.la -libgdk_3_la_DEPENDENCIES = win32/libgdk-win32.la win32/rc/gdk-win32-res.o gdk.def -libgdk_3_la_LDFLAGS += -Wl,win32/rc/gdk-win32-res.o -export-symbols $(srcdir)/gdk.def +libgdk_3_la_DEPENDENCIES = win32/libgdk-win32.la win32/rc/gdk-win32-res.o +libgdk_3_la_LDFLAGS += -Wl,win32/rc/gdk-win32-res.o endif # USE_WIN32 if USE_BROADWAY @@ -346,9 +346,13 @@ CLEANFILES += $(gir_DATA) $(typelibs_DATA) endif # HAVE_INTROSPECTION if OS_WIN32 +gdk.def: libgdk-3.la + echo "LIBRARY libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@" >$@ + echo "EXPORTS" >>$@ + objdump -p .libs/libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@.dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@ install-def-file: gdk.def mkdir -p $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gdk.def $(DESTDIR)$(libdir)/gdk-win32-3.0.def + $(INSTALL) gdk.def $(DESTDIR)$(libdir)/gdk-win32-3.0.def uninstall-def-file: -rm $(DESTDIR)$(libdir)/gdk-win32-3.0.def else |