Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroone-kr committed Aug 10, 2024
1 parent bf2909a commit 2ee530a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ee530a

Please # to comment.