]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/c-dynamic-rlib/Makefile
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / run-make-fulldeps / c-dynamic-rlib / Makefile
1 include ../tools.mk
2
3 # ignore-macos
4 #
5 # This hits an assertion in the linker on older versions of osx apparently
6
7 # This overrides the LD_LIBRARY_PATH for RUN
8 TARGET_RPATH_DIR:=$(TARGET_RPATH_DIR):$(TMPDIR)
9
10 all: $(call DYLIB,cfoo)
11         $(RUSTC) foo.rs
12         $(RUSTC) bar.rs
13         $(call RUN,bar)
14         $(call REMOVE_DYLIBS,cfoo)
15         $(call FAIL,bar)