From 2ee530a32b3f08738f7ef0548b405110f0678fe8 Mon Sep 17 00:00:00 2001 From: zeroone-kr Date: Sat, 10 Aug 2024 16:02:51 +0900 Subject: [PATCH] Update Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9e2d54..39a5d95 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,11 @@ endif then \ $(CC) $(CFLAGS) $(DIR_CFLAGS_$(@D)) $^ -o $@ $(LDLIBS); \ else \ - $(CC) $(CFLAGS) $(DIR_CFLAGS_$(@D)) $^ -o $@ $(LDLIBS) -Xlinker -rpath=$$(echo glibc-all-in-one/libs/$$version*) -Xlinker -I$$(echo glibc-all-in-one/libs/$$version*/ld-linux-x86-64.so.2) -Xlinker $$(echo glibc-all-in-one/libs/$$version*/libc.so.6) -Xlinker $$(echo glibc-all-in-one/libs/$$version*/libdl.so.2); \ + $(CC) $(CFLAGS) $(DIR_CFLAGS_$(@D)) $^ -o $@ $(LDLIBS) \ + -Xlinker -rpath=$$(realpath glibc-all-in-one/libs/$$version*) \ + -Xlinker -I$$(realpath glibc-all-in-one/libs/$$version*/ld-linux-x86-64.so.2) \ + -Xlinker $$(realpath glibc-all-in-one/libs/$$version*/libc.so.6) \ + -Xlinker $$(realpath glibc-all-in-one/libs/$$version*/libdl.so.2); \ fi all: $(BINS)