mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 06:47:34 +00:00
Set LD_LIBRARY_PATH on linux for c-dynamic-dylib test
Else, libfoo can't find libcfoo.so. bar has an rpath, which lets it find libfoo. But libfoo doesn't have an rapth that tells it where to find libcfoo
This commit is contained in:
parent
fce792249e
commit
24c560a69f
@ -1,5 +1,10 @@
|
||||
-include ../tools.mk
|
||||
|
||||
# needed so that libfoo can find libcfoo
|
||||
ifeq ($(shell uname),Linux)
|
||||
export LD_LIBRARY_PATH := $(TMPDIR)
|
||||
endif
|
||||
|
||||
# This hits an assertion in the linker on older versions of osx apparently
|
||||
ifeq ($(shell uname),Darwin)
|
||||
all:
|
||||
|
Loading…
Reference in New Issue
Block a user