summary refs log tree commit diff
path: root/src/test/run-make/c-dynamic-dylib/Makefile
blob: 2b2e5d56e92da29cf4b51e0821c714c8c75cfc93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-include ../tools.mk

# This hits an assertion in the linker on older versions of osx apparently
ifeq ($(shell uname),Darwin)
all:
	echo ignored
else
all: $(call DYLIB,cfoo)
	$(RUSTC) foo.rs
	$(RUSTC) bar.rs
	$(call RUN,bar)
	rm $(TMPDIR)/$(call DYLIB_GLOB,cfoo)
	$(call FAIL,bar)
endif