From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/run-make-fulldeps/static-dylib-by-default/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/run-make-fulldeps/static-dylib-by-default/Makefile (limited to 'tests/run-make-fulldeps/static-dylib-by-default/Makefile') diff --git a/tests/run-make-fulldeps/static-dylib-by-default/Makefile b/tests/run-make-fulldeps/static-dylib-by-default/Makefile new file mode 100644 index 000000000..eedd0b320 --- /dev/null +++ b/tests/run-make-fulldeps/static-dylib-by-default/Makefile @@ -0,0 +1,16 @@ +include ../tools.mk + +TO_LINK := $(call DYLIB,bar) +ifdef IS_MSVC +LINK_ARG = $(TO_LINK:dll=dll.lib) +else +LINK_ARG = $(TO_LINK) +endif + +all: + $(RUSTC) foo.rs + $(RUSTC) bar.rs + $(CC) main.c $(call OUT_EXE,main) $(LINK_ARG) $(EXTRACFLAGS) + rm $(TMPDIR)/*.rlib + rm $(call DYLIB,foo) + $(call RUN,main) -- cgit v1.2.3