]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/c-dynamic-rlib/Makefile
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / 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)