summaryrefslogtreecommitdiff
path: root/libgail-util/Makefile.am
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2013-08-23 14:15:29 +0000
committerIgnacio Casal Quinteiro <icq@gnome.org>2014-07-11 18:22:29 +0200
commit609f4c05ae0804e37a43bfeec60e0a75912a20a5 (patch)
treeeba73b3774e61e94ed781cc64b71bac4e6fb75bc /libgail-util/Makefile.am
parent4cc613d517020f97d21d645b83d2d0d7aa5caafa (diff)
downloadgtk+-609f4c05ae0804e37a43bfeec60e0a75912a20a5.tar.gz
Correctly generate def files again
Diffstat (limited to 'libgail-util/Makefile.am')
-rw-r--r--libgail-util/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/libgail-util/Makefile.am b/libgail-util/Makefile.am
index 4e9c192c50..9422f8a27e 100644
--- a/libgail-util/Makefile.am
+++ b/libgail-util/Makefile.am
@@ -6,8 +6,12 @@ no_undefined = -no-undefined
endif
if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gailutil.def
+gailutil.def: libgailutil-3.la
+ echo "LIBRARY libgailutil-$(GTK_MAJOR_VERSION)-$(GAIL_LT_CURRENT_MINUS_AGE)" >$@
+ echo "EXPORTS" >>$@
+ objdump -p .libs/libgailutil-$(GTK_MAJOR_VERSION)-$(GAIL_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: gailutil.def
- $(INSTALL) $(srcdir)/gailutil.def $(DESTDIR)$(libdir)
+ $(INSTALL) gailutil.def $(DESTDIR)$(libdir)
uninstall-def-file:
-rm $(DESTDIR)$(libdir)/gailutil.def
else
@@ -71,7 +75,6 @@ libgailutil_3_la_LIBADD = \
libgailutil_3_la_LDFLAGS = \
-version-info $(GAIL_LT_VERSION_INFO) \
$(no_undefined) \
- $(export_symbols) \
$(LDFLAGS)
gailutil.lib: libgailutil-3.la gailutil.def