# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../gtk+12/correct-so-deps.patch # Copyright (C) 2004 - 2005 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- Well, ... - This hacks libgdk as dependency into libgtk+ so builds with --as-needed do not fail linking binaries with gtk+ due to missing gdk symbols ... - Rene Rebe --- gtk+-1.2.10/gtk/Makefile.in.orig 2001-04-02 05:14:13.000000000 +0200 +++ gtk+-1.2.10/gtk/Makefile.in 2005-04-03 13:28:18.434727480 +0200 @@ -135,9 +135,7 @@ # libtool stuff: set version and export symbols for resolving libgtkincludedir = $(includedir)/gtk-1.2/gtk -libgtk_la_LDFLAGS = @STRIP_BEGIN@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-dynamic @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm @STRIP_END@ - -# $(top_builddir)/gdk/libgdk.la +libgtk_la_LDFLAGS = @STRIP_BEGIN@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-dynamic @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm -L$(top_builddir)/gdk/.libs/ -lgdk @STRIP_END@ # # setup source file variables