forked from OSchip/llvm-project
Fix this condition; it has an else clause attached for Darwin only. Patch
by Takumi Nakamura. llvm-svn: 110016
This commit is contained in:
parent
7fbaf53470
commit
adaf5172bf
|
@ -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
|
||||
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue