mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
[Win32] Add code to remove the bug-compatibility entries (see #134813, and
2004-09-22 Tor Lillqvist <tml@iki.fi> * Makefile.am (install-libtool-import-lib): [Win32] Add code to remove the bug-compatibility entries (see #134813, and related comments below) from the import library. The PRIVATE keyword in the .def file is supposed to mean that, but it isn't implemented yet by GNU ld.
This commit is contained in:
parent
631d6cf8d5
commit
aea0abdd14
@ -1,3 +1,11 @@
|
|||||||
|
2004-09-22 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* Makefile.am (install-libtool-import-lib): [Win32] Add code to
|
||||||
|
remove the bug-compatibility entries (see #134813, and related
|
||||||
|
comments below) from the import library. The PRIVATE keyword in
|
||||||
|
the .def file is supposed to mean that, but it isn't implemented
|
||||||
|
yet by GNU ld.
|
||||||
|
|
||||||
2004-08-13 Matthias Clasen <clasen@redhat.com>
|
2004-08-13 Matthias Clasen <clasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.4.6 ===
|
* === Released 2.4.6 ===
|
||||||
|
@ -39,6 +39,14 @@ if OS_WIN32
|
|||||||
export_symbols = -export-symbols $(srcdir)/gobject.def
|
export_symbols = -export-symbols $(srcdir)/gobject.def
|
||||||
|
|
||||||
install-libtool-import-lib:
|
install-libtool-import-lib:
|
||||||
|
# Don't put the bug 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 gobject.def | sed -e 's/PRIVATE//'`; do \
|
||||||
|
file=`nm -A .libs/libgobject-2.0.dll.a | grep -m 1 $$entry | cut -d: -f2`; \
|
||||||
|
ar d .libs/libgobject-2.0.dll.a $$file; \
|
||||||
|
done
|
||||||
$(INSTALL) .libs/libgobject-2.0.dll.a $(DESTDIR)$(libdir)
|
$(INSTALL) .libs/libgobject-2.0.dll.a $(DESTDIR)$(libdir)
|
||||||
$(INSTALL) $(srcdir)/gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def
|
$(INSTALL) $(srcdir)/gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user