From c7ac9caaae6f8d02d4e0c7618d4991324a084c66 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 13 May 2019 13:57:37 -0300 Subject: support: Export bindir path on support_path Checked on x86_64-linux-gnu. * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH. * support/support.h (support_bindir_prefix): New variable. * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix): Reviewed-by: DJ Delorie --- support/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'support/Makefile') diff --git a/support/Makefile b/support/Makefile index 64044f6..fe416cd 100644 --- a/support/Makefile +++ b/support/Makefile @@ -179,7 +179,8 @@ CFLAGS-support_paths.c = \ -DOBJDIR_PATH=\"`cd $(objpfx)/..; pwd`\" \ -DOBJDIR_ELF_LDSO_PATH=\"`cd $(objpfx)/..; pwd`/elf/$(rtld-installed-name)\" \ -DINSTDIR_PATH=\"$(prefix)\" \ - -DLIBDIR_PATH=\"$(libdir)\" + -DLIBDIR_PATH=\"$(libdir)\" \ + -DBINDIR_PATH=\"$(bindir)\" ifeq (,$(CXX)) LINKS_DSO_PROGRAM = links-dso-program-c -- cgit v1.1