We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b671c32 commit 05aadd2Copy full SHA for 05aadd2
src/test/run-make/issue-24445/Makefile
@@ -3,9 +3,9 @@
3
ifeq ($(UNAME),Linux)
4
all:
5
$(RUSTC) foo.rs
6
- $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -o $(TMPDIR)/foo
+ $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -o $(TMPDIR)/foo
7
$(call RUN,foo)
8
- $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -pie -fPIC -o $(TMPDIR)/foo
+ $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -pie -fPIC -o $(TMPDIR)/foo
9
10
else
11
0 commit comments