I got a little question...in a Makefile I have foo_LDADD: $(srcdir)/foo/bar.la
then in the link line I have $(LINK) -rpath $(libdir) $(OBJECTS) $(foo_LDADD) this does a c++ -dynamiclib -flat_namespace -undefined suppress -o .libs/foo.0.0.0.dylib blah.lo -L/sw/lib -L../foo/.libs -lbar -lc -install_name /sw/lib/foo.0.dylib -compatibility_version 1 -current_version 1.0 Now my problem is that -L/sw/lib is first and it must be getting it from the .la file since if i remove the $(foo_LDADD) from the link like I don't have the -L/sw/lib but I need the -L/sw/lib to come after the -L$(srcdir)/foo/.libs or it will link to the wrong version of the libs on upgrades. I believe this is a libtool problem. Any ideas?? Could I sed to .la for build time then re sed it back at install time? and if so what do i need to change? ¸.·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·., Justin F. Hallett - Systems Analyst Phone: (780)-408-3094 Fax: (780)-454-3200 E-Mail: [EMAIL PROTECTED] .·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·., ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel