Library dependencies in gtk+



Hi.
    Any reasons for not adding interlibrary dependencies between the
gtk libraries?  (So when we link gtk into a program, we know to link
glib and gdk as well.)  I know the libtool documentation says you can't link
to uninstalled libs, but it's wrong on this account.  What you can't do is
link to a relative path... I put

    -L`pwd`/../glib/.libs -lglib 

into the libgdk_la_LDFLAGS variable in gdk/Makefile.am and it worked fine.
(Same sort of thing with gtk/Makefile.am)

Will that work for everyone?

-Toshio
-- 
badger  \"The Difference between today and yesterday is not so much what has
@prtr-13 \ changed between then and now as what I hope to change by tomorrow."
.ucsc.edu  \~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

PGP signature



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