From: Rust Maintainers Date: Sat, 8 Jul 2017 23:35:25 +0000 (+0100) Subject: d-missing-ref-dlsym-ppc64el X-Git-Tag: archive/raspbian/1.17.0+dfsg2-8+rpi1~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=834aaa1ae45a60bbb7c142b7a9676267d04c8769;p=rustc.git d-missing-ref-dlsym-ppc64el Gbp-Pq: Name d-missing-ref-dlsym-ppc64el.patch --- 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: