On Mon, Jan 17, 2005 at 08:58:25PM -0500, Ales Hvezda wrote: > Hi Dan, > > >I noticed that gschem's configure script won't set the required > >-Rpath or -Wl,--rpath, or whatever flags needed to set the runtime > >path to the X11 libraries. The attached patch adds that check > >and it seems to work fine. Without this, you have to > >manually set LDFLAGS in your configure environmnet or set LD_LIBRARY_PATH > >on solaris and other os's. > > > >Anyone see any problems with this? > > I have no problem with this, as long as this doesn't force > rpath on other platforms where it is discouraged. >
where is it discouraged? Does linux typically put /usr/X11R6/lib into gcc's default runtime path? What would be the appropriate way to turn on/off the rpath stuff? There could be an --enable-rpath/--disable-rpath or it could be a switch based on OS, although I'm not a fan of the latter. -Dan --
