Commit c795c65c authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Remove the DLL binary compatibilty entries from the import library. They

2004-12-05  Tor Lillqvist  <tml@iki.fi>

	* glib/Makefile.am (install-libtool-import-lib): Remove the DLL
	binary compatibilty entries from the import library. They aren't
	used by newly compiled code, so no need to have them in the import
	library. (The "PRIVATE" keyword in the .def file is supposed to do
	this, but not implemented in the GNU linker yet.)
parent bd177ce1
2004-12-05 Tor Lillqvist <tml@iki.fi>
* glib/Makefile.am (install-libtool-import-lib): Remove the DLL
binary compatibilty entries from the import library. They aren't
used by newly compiled code, so no need to have them in the import
library. (The "PRIVATE" keyword in the .def file is supposed to do
this, but not implemented in the GNU linker yet.)
2004-12-04 Matthias Clasen <mclasen@redhat.com>
* glib/gqueue.c (g_queue_link_index): Return -1 if queue is
......
2004-12-05 Tor Lillqvist <tml@iki.fi>
* glib/Makefile.am (install-libtool-import-lib): Remove the DLL
binary compatibilty entries from the import library. They aren't
used by newly compiled code, so no need to have them in the import
library. (The "PRIVATE" keyword in the .def file is supposed to do
this, but not implemented in the GNU linker yet.)
2004-12-04 Matthias Clasen <mclasen@redhat.com>
* glib/gqueue.c (g_queue_link_index): Return -1 if queue is
......
2004-12-05 Tor Lillqvist <tml@iki.fi>
* glib/Makefile.am (install-libtool-import-lib): Remove the DLL
binary compatibilty entries from the import library. They aren't
used by newly compiled code, so no need to have them in the import
library. (The "PRIVATE" keyword in the .def file is supposed to do
this, but not implemented in the GNU linker yet.)
2004-12-04 Matthias Clasen <mclasen@redhat.com>
* glib/gqueue.c (g_queue_link_index): Return -1 if queue is
......
2004-12-05 Tor Lillqvist <tml@iki.fi>
* glib/Makefile.am (install-libtool-import-lib): Remove the DLL
binary compatibilty entries from the import library. They aren't
used by newly compiled code, so no need to have them in the import
library. (The "PRIVATE" keyword in the .def file is supposed to do
this, but not implemented in the GNU linker yet.)
2004-12-04 Matthias Clasen <mclasen@redhat.com>
* glib/gqueue.c (g_queue_link_index): Return -1 if queue is
......
2004-12-05 Tor Lillqvist <tml@iki.fi>
* glib/Makefile.am (install-libtool-import-lib): Remove the DLL
binary compatibilty entries from the import library. They aren't
used by newly compiled code, so no need to have them in the import
library. (The "PRIVATE" keyword in the .def file is supposed to do
this, but not implemented in the GNU linker yet.)
2004-12-04 Matthias Clasen <mclasen@redhat.com>
* glib/gqueue.c (g_queue_link_index): Return -1 if queue is
......
......@@ -196,6 +196,14 @@ if OS_WIN32
export_symbols = -export-symbols $(srcdir)/glib.def
install-libtool-import-lib:
# Don't put the binary compatibility entries in the import lib!
# (Unfortunately the GNU linker doesn't yet understand the PRIVATE
# directive in .def files.)
#
for entry in `grep PRIVATE glib.def | sed -e 's/PRIVATE//'`; do \
file=`nm -A .libs/libglib-2.0.dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
ar d .libs/libglib-2.0.dll.a $$file; \
done
$(INSTALL) .libs/libglib-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) $(srcdir)/glib.def $(DESTDIR)$(libdir)/glib-2.0.def
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment