From b22eaf49d87e49e65ce2b70ef20fbe0e83081089 Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Sun, 12 Mar 2017 03:15:33 +0000 Subject: [PATCH] d-missing-ref-dlsym-ppc64el Gbp-Pq: Name d-missing-ref-dlsym-ppc64el.patch --- src/test/run-make/issue-24445/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/run-make/issue-24445/Makefile b/src/test/run-make/issue-24445/Makefile index 7a0cbfcf51..2ed971bf7d 100644 --- a/src/test/run-make/issue-24445/Makefile +++ b/src/test/run-make/issue-24445/Makefile @@ -3,9 +3,9 @@ ifeq ($(UNAME),Linux) all: $(RUSTC) foo.rs - $(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 $(call RUN,foo) - $(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 $(call RUN,foo) else all: -- 2.30.2