Revert "jam: Fix bootstrap via absolutes in LD_LIBRARY_PATH"

This reverts commit 030d0eb58f.

It is absolutely not correct to assume PWD is the generated dir;
it may also be the repository root.

Fixes jam putting some build artifacts in the source tree.
This commit is contained in:
Augustin Cavalier 2018-11-04 15:37:31 -05:00
parent 5bd0fbd13a
commit 85f8e70013
2 changed files with 4 additions and 5 deletions

View File

@ -400,8 +400,7 @@ HOST_DEFINES += ARCH_$(HOST_CPU) ;
HOST_DEFINES += _NO_INLINE_ASM __NO_INLINE__ ;
# for builds of tools in the current environment
# haikuporter bootstrap needs absolute here vs HOST_OBJECT_BASE_DIR (relative)
HOST_BUILD_COMPATIBILITY_LIB_DIR = [ FDirName $(PWD) lib ] ;
HOST_BUILD_COMPATIBILITY_LIB_DIR = [ FDirName $(HOST_OBJECT_BASE_DIR) lib ] ;
# For the generic attributes emulation: Target rm_attrs -- rm replacement that
# also removes the attributes.

View File

@ -379,9 +379,9 @@ TREE_PATH="$(HAIKU_REPOSITORY_TREE_PATH)"
TARGET_ARCHITECTURE="$(HAIKU_PACKAGING_ARCH)"
DOWNLOAD_IN_PORT_DIRECTORY="yes"
PACKAGE_COMMAND="$(PWD)/$(2[1])"
MIMESET_COMMAND="$(PWD)/$(2[2])"
SYSTEM_MIME_DB="$(PWD)/$(2[3])"
PACKAGE_COMMAND="$(2[1])"
MIMESET_COMMAND="$(2[2])"
SYSTEM_MIME_DB="$(2[3])"
LICENSES_DIRECTORY="$(HAIKU_ABSOLUTE_TOP)/data/system/data/licenses"
OUTPUT_DIRECTORY="$(HAIKU_REPOSITORY_BUILD_DIRECTORY)"
EOF