summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-28 16:16:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-28 16:16:51 +0000
commitfc6cc0edd6589a01f53d497e3c3e4bf8b290f7e2 (patch)
tree37982aeff94037a18a5d81da63e4ce2ed877bbe9 /unittests
parent128237d0c70c45664c51fb98a9e8e0bee4cd9211 (diff)
downloadllvm-fc6cc0edd6589a01f53d497e3c3e4bf8b290f7e2.tar.gz
llvm-fc6cc0edd6589a01f53d497e3c3e4bf8b290f7e2.tar.bz2
llvm-fc6cc0edd6589a01f53d497e3c3e4bf8b290f7e2.tar.xz
With rpaths being set correctly, SHLIBPATH_VAR is not needed anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Makefile.unittest5
1 files changed, 1 insertions, 4 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 695bee6d89..a39edc6756 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -52,9 +52,6 @@ ifeq ($(ENABLE_SHARED), 1)
# we'll never install unittests.
LD.Flags += $(RPATH) -Wl,$(SharedLibDir)
endif
- # Also set {DYLD,LD}_LIBRARY_PATH because OSX ignores the rpath most
- # of the time.
- Run.Shared := $(SHLIBPATH_VAR)="$(SharedLibDir)$${$(SHLIBPATH_VAR):+:}$$$(SHLIBPATH_VAR)"
endif
$(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
@@ -67,6 +64,6 @@ $(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
all:: $(LLVMUnitTestExe)
unitcheck:: $(LLVMUnitTestExe)
- $(Run.Shared) $(LLVMUnitTestExe)
+ $(LLVMUnitTestExe)
endif