path-rules.mk: Add file

Move ldlibpath target from ldlibpath.mk into newly created
path-rules.mk.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-12-17 14:57:48 +00:00
commit 4ed00f0186
3 changed files with 5 additions and 8 deletions

View file

@ -15,11 +15,3 @@ endif
LD_LIBRARY_PATH = $(call proj_query, ldlibpath $(PROJECT) $(PREREQ_BUILD))
export LD_LIBRARY_PATH
export PATH=$(call proj_query, exepath $(PROJECT) $(PREREQ_BUILD)):$(EXE_SEARCH_PATH_ENV)
#ifneq ($(LDLIBPATH_MK_INCLUDED),)
all:
libpath:
@echo "export LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)"
@echo "export PATH=.:$(PATH)"
#endif
LDLIBPATH_MK_INCLUDED := true