stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Black <>
Subject [PATCH] Library path fix
Date Fri, 03 Nov 2006 21:41:22 GMT
Greetings all.

Attached is a patch that aims to fix a bug that manifests itself when 
running 64-bit builds on SPARC Solaris.  The issue that arises is that 
dynamic builds of this type use the LD_LIBRARY_PATH_64 variable to 
determine where to locate shared libraries, rather than the 
LD_LIBRARY_PATH variable used almost everywhere else.  This patch 
attempts to replace all instances of LD_LIBRARY_PATH with the new make 
variable LD_PATH_REF.

--Andrew Black

	* GNUmakefile (LD_PATH_REF): Document variable, define default value
	  ($(MAKEFILE_IN)): Define LD_PATH_REF in generated file
	  (post): use $(LD_PATH_REF) rather than LD_LIBRARY_PATH
	* GNUmakefile.cfg (run): Ditto.
	* makefile.rules (%.out, run): Ditto.
	* sunpro.config [sparc && wide]: Set LD_PATH_REF to LD_LIBRARY_PATH_64

View raw message