jam: Fix bootstrap via absolutes in LD_LIBRARY_PATH

* The PWD's are live based on jam run location which means
  they shouldn't bind the generated directory to a fixed path
  as before.
* We also need an absolute LD_LIBRARY PATH since haikuporter
  loses the context invoking host tools.
* I don't think we can run jam from outside of the generated
  directory anymore... but I don't think that was a thing.

Change-Id: I020f902ce5235bf268c9075d6e2ae85296a4ad20
This commit is contained in:
Alexander von Gluck IV
2018-11-04 08:39:01 -06:00
parent 9f35df2324
commit 030d0eb58f
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -400,7 +400,8 @@ HOST_DEFINES += ARCH_$(HOST_CPU) ;
HOST_DEFINES += _NO_INLINE_ASM __NO_INLINE__ ;
# for builds of tools in the current environment
HOST_BUILD_COMPATIBILITY_LIB_DIR = [ FDirName $(HOST_OBJECT_BASE_DIR) lib ] ;
# haikuporter bootstrap needs absolute here vs HOST_OBJECT_BASE_DIR (relative)
HOST_BUILD_COMPATIBILITY_LIB_DIR = [ FDirName $(PWD) lib ] ;
# For the generic attributes emulation: Target rm_attrs -- rm replacement that
# also removes the attributes.