-lgdk, -lglib in a bad place




In 970925, -lgdk -lgtk was added libgtk_la_LDFLAGS in 
gtk/Makefile.am, and a corresponding change to libgdk_la_FLAGS
in gdk/Makefile.am.

This has the unfortunate consequence of making compilation
fail for anybody who doesn't already have GTK installed.

To quote from the libtool info file:

     (1)  Unfortunately, as of libtool version 1.0e, there is no way to
  specify inter-library dependencies on libtool libraries that have not
  yet been installed.

After fooling around with this awhile, I'm convinced that this is
correct, and the offending flags should be removed until libtool is
improved. People will just have to specify all three of -lgtk -lgdk
-lglib. (The right thing to do anyways, since shared library
dependencies aren't portable.)

Could somebody (the person who made the change in the first place?)
make sure this is fixed for the next release?

Thanks,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]