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:
Andrew Chin 2014-01-22 23:49:36 -05:00
parent fce792249e
commit 24c560a69f

View File

@ -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: