diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-08-02 03:16:19 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-08-02 03:16:19 +0000 |
commit | e28015c02cc112a9895b4ae22a88f15fefb23805 (patch) | |
tree | d38edfc97114787356ca1e91d36959f301ec2c28 /Makefile.rules | |
parent | 27a9939903846ae9a34b5a716e086fa36f35e570 (diff) |
Fix this condition; it has an else clause attached for Darwin only. Patch
by Takumi Nakamura.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index b1744f13bf..66666b42d2 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -618,7 +618,8 @@ ifndef KEEP_SYMBOLS endif # Adjust linker flags for building an executable -ifneq ($(HOST_OS), $(filter $(HOST_OS), Darwin Cygwin MingW)) +ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) +ifneq ($(HOST_OS), Darwin) ifdef TOOLNAME LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib' ifdef EXAMPLE_TOOL @@ -632,6 +633,7 @@ ifneq ($(DARWIN_MAJVERS),4) LD.Flags += $(RPATH) -Wl,@executable_path/../lib endif endif +endif #---------------------------------------------------------- |