Skip to content

Commit

Permalink
Merge pull request #193 from zeroone-kr/fix-makefile
Browse files Browse the repository at this point in the history
Update Makefile
  • Loading branch information
Kyle-Kyle authored Aug 23, 2024
2 parents bf2909a + 2ee530a commit fcd6098
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 fcd6098

Please # to comment.