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 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue