This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++.dylib linking problem on Darwin


On Thu, Apr 12, 2007 at 04:43:23PM -0700, Eric Christopher wrote:
> The basic idea is that the darwin code uses slibdir to set the install name of 
> the library - including full path. Yes, this is dumb, but it's the way that 
> darwin does things at the moment. :(

That much is reasonable but...

>  	$(MAKE) install DESTDIR=$(gcc_objdir) \
> -	  slibdir= libsubdir= MULTIOSDIR=$(MULTIDIR)
> +	  slibdir=$(slibdir) libsubdir= MULTIOSDIR=$(MULTIDIR)

I didn't just pull this out of a hat, you know :-)  Where do you think
it's going to install the library if you do that?

SHLIB_INSTALL = \
        $(mkinstalldirs) $(DESTDIR)$(slibdir); \
        $(INSTALL_DATA) $(SHLIB_SONAME) \
          $(DESTDIR)$(slibdir)/$(SHLIB_SONAME)

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]